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

Free Support Forum - aspose.com

Selecting a particular page from a pdf as thumbnail

How would I select a particular page from a pdf to be the thumbnail I want generated for the pdf. Right now I have this code:


var s = new MemoryStream();

if (converter.HasNextImage())
converter.GetNextImage(s, ImageFormat.Jpeg);

This automatically selects the first page in the pdf as the thumbnail. What if I wanted to select the 3rd page from the pdf as the thumbnail?

Any feedback would be greatly appreciated.




Please set the value of StartPage and EndPage properties to your required page i.e. 3.

I hope this helps. If you still find any issue or have some more questions, please do let us know.