| Visual Basic |
|---|
Public Sub InsertItemFromBlob( _ ByVal ImageMemoryBlob As Variant, _ ByVal BlobSize As Long, _ ByVal InsertIndex As Long, _ 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 _ ) |
- ImageMemoryBlob
- A variant which represents an image memory blob.
- BlobSize
- A long value which represents the blob size.
- InsertIndex
- A long value which represents the index location to insert the item.
- Descriptor
- A string value which represents the descriptor.
- ThumbnailStatus
A TN_ThumbnailStatus enumeration value.Value Description TN_BeingGenerated 2 - Thumbnail bitmap in the process of being generated.
TN_Canceled 6 - 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_NotValidated 0 - The thumbnail is not validated. TN_Validated 1 - File validated at some level; ThumbnailXpress believes it is a supported file type.
- ThumbnailType
A TN_ThumbnailType enumeration value.Value Description 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.
- Page
- A long value which represents the page number.
- PageCount
- A long value which represents the page count.
- UserTag
- A variant which represents the user tag.