Accusoft ThumbnailXpress 6
InsertItem Method
A string value which represents the filename.
A long value which represents the index where to insert the item.
A boolean value which should be True to verify the item is inserted.
A string value which represents the descriptor.
A TN_ThumbnailStatus enumeration value.
A TN_ThumbnailType enumeration value.
A long value which represents the page.
A long value which represents the page count.
A variant value which represents the user tag.
Description

Inserts the specified item into 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 InsertItem( _
   ByVal Filename As String, _
   ByVal InsertIndex As Long, _
   ByVal Verify As Boolean, _
   ByVal Descriptor As String, _
   ByVal ThumbnailStatus As TN_ThumbnailStatus, _
   ByVal ThumbnailType As TN_ThumbnailType, _
   ByVal Page As Long, _
   ByVal PageCount As Long, _
   ByVal UserTag As Variant _
) 
Parameters
Filename
A string value which represents the filename.
InsertIndex
A long value which represents the index where to insert the item.
Verify
A boolean value which should be True to verify the item is inserted.
Descriptor
A string value which represents the descriptor.
ThumbnailStatus
ValueDescription
TN_BeingGenerated

2 - Thumbnail bitmap in the process of being generated.

TN_Canceled6 - The thumbnail is canceled.
TN_FailedWithError

4 - ThumbnailXpress failed to generate thumbnail bitmap for the image (likely decompression error).

TN_FailedWithTimeout

5 - Failed to generate thumbnail bitmap within time limits. See ThreadHungThreshold property.

TN_Generated

3 - A thumbnail bitmap successfully generated (though it may not be in cache at this point).

TN_NotValidated0 - The thumbnail is not validated.
TN_Validated

1 - File validated at some level; ThumbnailXpress believes it is a supported file type. 

A TN_ThumbnailStatus enumeration value.
ThumbnailType
ValueDescription
TN_CAD

5 - Supported CAD (Computer Aided Design) file type.

TN_Image

3 - Supported ImagXpress file type.

TN_Internet

1 - Specifies that the file is an Internet file.

TN_ParentDirectory

6 - Parent directory folder.

TN_PDF

4 - Supported PDFXpress file type.

TN_Subdirectory

7 - Sub-directory folder type.

TN_Unknown

0 - Thumbnail type is not recognized by ThumbnailXpress operations.

TN_Unsupported

2 - ImagXpress or PDF Xpress (if available) does not support the file.

A TN_ThumbnailType enumeration value.
Page
A long value which represents the page.
PageCount
A long value which represents the page count.
UserTag
A variant value which represents the user tag.
See Also

ThumbnailXpress Object  | ThumbnailXpress Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback