AccusoftThumbnailXpress6 ActiveX DLL > ThumbnailXpress Object : AddFileItems Method |
A string value which represents the name of the file for which to generate one or more thumbnails.
A long value which represents the index at which to insert the new thumbnail(s).
A boolean value which is True if generating multiple thumbnails, one for each page in a multi-page file. Yet has no meaning for single-page files.
Adds the items in the specified file to the list of thumbnail items.
PDF support is deprecated in ImagXpress; instead, please use PDF Xpress for PDF support via the UsePdfXpressForPDFsOnly property. |
Visual Basic |
---|
Public Sub AddFileItems( _ ByVal Filename As String, _ ByVal InsertIndex As Long, _ ByVal AddAllPages As Boolean _ ) |
A string value which represents the name of the file for which to generate one or more thumbnails.
A long value which represents the index at which to insert the new thumbnail(s).
A boolean value which is True if generating multiple thumbnails, one for each page in a multi-page file. Yet has no meaning for single-page files.
If the AddAllPages indicator is True, it causes the item to paint with a special bitmap overlaid on the image, indicating that the thumbnail item represents a multi-page file. For AddDirectoryItems, this value is always true, since it always adds only the first page from any file, even when there are multiple pages.
When thumbnail items add to the collection using the AddFileItems method, the thumbnail bitmaps generate asynchronously by one or more threads.