Type Default Value Read Only Description

[Visual Basic]
n/a No The Thumbnail for the page




Each page can have a thumbnail image for quick preview purposes. This property allows to access such a thumbnail if it exists, or to assign such a thumbnail to a page if it does not.




This example shows how to create and embed thumbnails in a PDF document.


using (Doc doc = new Doc(), srcDoc = new Doc()) {   doc.Read(Server.MapPath("spaceshuttle.pdf"));   doc.Rendering.DotsPerInch = 18;   Page[] pages = doc.ObjectSoup.Catalog.Pages.GetPageArrayAll();   foreach (Page page in pages) {     doc.Page = page.ID;     using (XImage xi = XImage.FromData(doc.Rendering.GetData(".jpg"), null))       page.Thumbnail = PixMap.FromXImage(doc.ObjectSoup, xi);   }   doc.Save(Server.MapPath("embedthumbnails.pdf")); }