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

Free Support Forum - aspose.com

Section to image

Is there anyway to get an image of a section to use as a preview, as there is in aspose slides? Thanks.

Matt

Hi
Thank you for your interest in Aspose products. You can use the DocumentRenderer class to achieve this. See the following code example.

Document doc = new Document(@"in.doc");
DocumentRenderer renderer = new DocumentRenderer(doc);
Bitmap[] arr = renderer.GetPages(); //get array of pages as bitmap[]
for (int i = 0; i < arr.Length; i++)
{
    arr[i].Save(@"page"+i.ToString()+".jpg");
}

See the following links.
https://docs.aspose.com/words/net/rendering/
https://reference.aspose.com/words/net/aspose.words/document/pagecount/
But note that Aspose.Words.Viewer is currently in beta. Also see FAQ.
Best regards.

I see the FAQ says the viewer will be released in late 2007. Is that still accurate or do you have a better estimate now? Thanks.

Matt

Hi
Unfortunately, I can’t tell you exact date. But the production release of Aspose.Words.Viewer will be available in the ending of 2007 or beginning of 2008.
Best regards,

We are happy to tell you that the new Rendering Engine has replaced the “old Viewer Beta”. The Rendering Engine can print, save as images or draw onto .NET Graphics object any document page.

Please see Aspose.Words documentation to learn more about new features.

Saving to image

In additional, new Rendering engine allows you to convert Word document to PDF directly (without using Aspose.Pdf).

Saving to Pdf

The latest version of Aspose.Words is available for download from downloads section or from NuGet