Accusoft.ThumbnailXpress6.Net
Add(ThumbnailItem) Method




The thumbnail to add.
This method adds the provided ThumbnailItem to the end of the collection. 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
'Declaration
 
Public Overloads Overridable Function Add( _
   ByVal item As ThumbnailItem _
) As Integer
'Usage
 
Dim instance As ThumbnailItemCollection
Dim item As ThumbnailItem
Dim value As Integer
 
value = instance.Add(item)
public virtual int Add( 
   ThumbnailItem item
)
public: virtual int Add( 
   ThumbnailItem* item
) 
public:
virtual int Add( 
   ThumbnailItem^ item
) 

Parameters

item
The thumbnail to add.

Return Value

Returns the new count of total thumbnails.
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