We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

SaveToImage method with multiple pages

I'm saving a document to a tiff file using the Aspose SaveToImage method. My question has to do with multiple pages. If the document contains 6 pages, for example, will the tiff file also contain 6 pages, or might the multiple-page tiff image result in fewer pages than the original document?

The doc under SaveToImage states that...

Converts every page of a DOC file into a separate scalable EMF file.

This seems to indicate there will always be a one-to-one correspondence with the page count.

Thanks -

bob kells


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Please try using the following code to convert your document to multi-page .tif image

Document doc = new Document(@"Test001/in.doc");

doc.SaveToImage(0, doc.PageCount, @"Test001/out.tif", null);

Best regards,