Accusoft.ThumbnailXpress6.Net
Generate Thumbnails from PDF File

When PDF Xpress™ is installed, ThumbnailXpress™ can generate thumbnails from PDF files. ThumbnailXpress works seamlessly with PDF Xpress after calling the AccessPdfXpress method. When a request to generate a thumbnail is made by calling ThumbnailItemCollection methods: Add, AddItemsFromDirectory, AddItemsFromFile, or Insert, if the specified file is a PDF, then ThumbnailXpress will look for and use the most recent installed version of PDF Xpress to render the PDF. 

PDF support is deprecated in ImagXpress; instead, please use PDF Xpress for PDF support via the UsePdfXpressForPDFsOnly property.

C#
Copy Code
// Access PDF Xpress to generate a thumbnail from a PDF file.
// It is only necessary to call these methods once.
ThumbnailXpress1.Licensing.AccessPdfXpress(5);
// Provide runtime licensing for PDF Xpress for use in distributed environments.
//ThumbnailXpress1.Licensing.SetPDFXSolutionName(“ACMEImaging”);
//ThumbnailXpress1.Licensing.SetPDFXSolutionKey(1, 2, 3, 4);
//ThumbnailXpress1.Licensing.SetPDFXOEMLicenseKey(“1.0.WXPB1EmUgONaI4QDZ32tpGWfpGW4gtbC0iIC0iN4bigYM3m3K5b487QOsAM38O24mUp5bOpD2O240OQ32U2YsUKDKA87MYPGgGgaptMiK5Nv8AI4mYg4m3QvW52DZCPGs4p784mtP4IUgOWiIG0AQYp4052iIAWvNCZfpGWC8vQ5P4ZGKaPAWfbiYfZOI303pOZAgisiNaWA27gGsf8Ob7Zvm5IaKGI4KC8GsG2CWYpGQAg5sUmYWvZCQANig48G2ap4bG0DsO240YsUmtptNiZamCPGbYMfMO83gANAZCN52YbY8U8f8DM4m3g7MYMYWGW5Q7QGWaMiN7MtZfmtgY8AN7NDP7Z4W7sCbGKUPa0im7EDJS”);
ThumbnailXpress1.Items.AddItemsFromFile("C:\\pdfxpress.pdf", 0, false);

 

See Also

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback