Accusoft ThumbnailXpress 6
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. 

Description

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.

Syntax
Visual Basic
Public Sub AddFileItems( _
   ByVal Filename As String, _
   ByVal InsertIndex As Long, _
   ByVal AddAllPages As Boolean _
) 
Parameters
Filename

A string value which represents the name of the file for which to generate one or more thumbnails.

InsertIndex

A long value which represents the index at which to insert the new thumbnail(s).

AddAllPages

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. 

Remarks

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.

See Also

ThumbnailXpress Object  | ThumbnailXpress Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback