Accusoft.ThumbnailXpress5.Net
Insert(Int32,ThumbnailItem) Method
See Also  Send Feedback
Accusoft.ThumbnailXpressSdk Namespace > ThumbnailItemCollection Class > Insert Method : Insert(Int32,ThumbnailItem) Method




collectionIndex
The index position to add the given thumbnail.
item
The thumbnail to insert into the collection.

Glossary Item Box

This method inserts the provided ThumbnailItem into the collection at the given index. The display is updated if appropriate. This method throws an exception if item is not a directory and item.Filename specifies an invalid, unsupported, or non-existent file.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

collectionIndex
The index position to add the given thumbnail.
item
The thumbnail to insert into the collection.

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

©2013. Accusoft Corporation. All Rights Reserved.