Hi, I am using the script below to convert an HTML file to a .DOC document. I would like to ensure that the .DOC page is size A3 (11.7" x 16.5") and that the orientation is set to Landscape. Could you please tell me exactly what lines I need to add to achieve this. Sorry for the simple question but the online documentation only seems to cover how to do this when using the builder method.
------------------------------------------Test.java----------------------------------------
import com.aspose.words.Document;
public class Test
{
public static void main(String args[])
{
try
{
com.aspose.words.License license = new com.aspose.words.License();
license.setLicense("Aspose.Words.lic");
Document doc = new Document("C:\\JavaTest\\Test.html");
doc.save("C:\\JavaTest\\Test.doc");
}
catch (Exception e)
{
e.printStackTrace();
}
}
}
------------------------------------------Test.java----------------------------------------