Accusoft.ThumbnailXpressSdk Namespace > ThumbnailItemCollection Class : AddItemsFromFile Method |
'Declaration Public Function AddItemsFromFile( _ ByVal filename As String, _ ByVal collectionIndex As Integer, _ ByVal expandMultiPage As Boolean _ ) As Integer
'Usage Dim instance As ThumbnailItemCollection Dim filename As String Dim collectionIndex As Integer Dim expandMultiPage As Boolean Dim value As Integer value = instance.AddItemsFromFile(filename, collectionIndex, expandMultiPage)
public int AddItemsFromFile( string filename, int collectionIndex, bool expandMultiPage )
public: int AddItemsFromFile( string* filename, int collectionIndex, bool expandMultiPage )
public: int AddItemsFromFile( String^ filename, int collectionIndex, bool expandMultiPage )
This method does not wait for images to be generated before returning. The thumbnail images are 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
PDF support is deprecated in ImagXpress, please use PDF Xpress instead for PDF support via the Licensing.UsePdfXpressForPDFsOnly property.