Accusoft.ThumbnailXpress6.Net
Insert(Int32,ThumbnailItem,Boolean) Method




The index position to add the given thumbnail.
The thumbnail to insert into the collection.
Validate the file name specified in item.FileName if the item is not a directory. This method throws an exception if item.Filename specifies an invalid, unsupported, or non-existent file.
This method inserts the provided ThumbnailItem into the collection at the given index. The display is updated if appropriate
Syntax
'Declaration
 
Public Overloads Sub Insert( _
   ByVal collectionIndex As Integer, _
   ByVal item As ThumbnailItem, _
   ByVal verify As Boolean _
) 
'Usage
 
Dim instance As ThumbnailItemCollection
Dim collectionIndex As Integer
Dim item As ThumbnailItem
Dim verify As Boolean
 
instance.Insert(collectionIndex, item, verify)
public void Insert( 
   int collectionIndex,
   ThumbnailItem item,
   bool verify
)
public: void Insert( 
   int collectionIndex,
   ThumbnailItem* item,
   bool verify
) 
public:
void Insert( 
   int collectionIndex,
   ThumbnailItem^ item,
   bool verify
) 

Parameters

collectionIndex
The index position to add the given thumbnail.
item
The thumbnail to insert into the collection.
verify
Validate the file name specified in item.FileName if the item is not a directory. This method throws an exception if item.Filename specifies an invalid, unsupported, or non-existent file.
Remarks
This method does not wait for an image to be generated before returning. The thumbnail image is generated in the background. This means a thumbnail's image data (for example, its bitmap) is likely not available immediately after this method returns. Use the ThumbnailXpress.ItemComplete event to determine when an item's image has completed being generated before attempting to programmatically access its image data
See Also

Reference

ThumbnailItemCollection Class
ThumbnailItemCollection Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback