Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- filename
- The name and path of the image file. Note that the path may specify an internet address such as "http://www.somesite.com/test.jpg" or "ftp://..../test.jpg" with two limitations. PDF Xpress (if used) cannot access internet resident files and internet resident multi-page files of any type cannot be expanded
- collectionIndex
- The index into the collection where the item(s) should be added/inserted. -1 indicates to append to the end of the collection.
- expandMultiPage
- Flag indicating whether to use all pages in a multi-page image or not.
Return Value
The number of items this method added to the collection.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