Accusoft.ThumbnailXpressSdk Namespace : ThumbnailItemCollection Class |
The following tables list the members exposed by ThumbnailItemCollection.
Name | Description | |
---|---|---|
Capacity | Gets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase) | |
Count | Gets the number of items in the collection. | |
IsFixedSize | Read-only property returning whether the collection is a fixed size. | |
IsReadOnly | Read-only property returning whether the collection access is read-only. | |
IsSynchronized | Read only property returning whether synchronized (thread-safe) read-write access to the Collection is available. Will always return false. Use the ThumbnailItemCollectionEnumerator and its Lock method to access the ThumbnailItemCollection in a read-only thread safe manner. | |
Item | Read-only property returning the ThumbnailItem object from the given collection index. | |
SyncRoot | Read-only property returning an object that can be used to synchronize access to the collection. |
Name | Description | |
---|---|---|
Add | Overloaded. 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. | |
AddItemFromStream | Adds the provided ThumbnailItem to the end of the collection. The display is updated if appropriate. Rather than obtaining its image data from a supplied filename/path, the image data will be expected to be provided by a System.IO.Stream object. | |
AddItemsFromDirectory | Adds thumbnail items to the collection from the provided directory. | |
AddItemsFromFile | Adds a thumbnail item from a single-page image or optionally multiple items (one per page) from a multi-page image to the collection from the provided image file. | |
Clear | This method clears all thumbnails out of the collection. The display is updated. | |
Contains | This method provides an indication as to whether the collection contains the given ThumbnailItem. The matching criteria is based on the filename / page number information. | |
CopyTo | Copy the collection to an array of ThumbnailItems. | |
GetEnumerator | Returns an enumerator for traversing the collection. | |
IndexOf | This method returns the index of the given ThumbnailItem in the collection. The matching criteria is based on the filename / page number information. | |
Insert | Overloaded. 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. | |
InsertItemFromStream | This method inserts the provided ThumbnailItem into the collection at the given index. The display is updated if appropriate. Rather than obtaining its image data from a supplied filename/path, the image data will be expected to be provided by a System.IO.Stream object. | |
Refresh | This method Refreshes the contents of the thumbnail collection. When the contents of a directory or multi-page image file have changed, Refresh can be used to update the items in the thumbnail collection. Refresh is limited in that it can only be used when a collection is created from a directory or a multi-page image file | |
Remove | This method removes the provided ThumbnailItem from the collection. The matching criteria is based on the filename / page number information. The display is updated if appropriate | |
RemoveAt | This method removes the thumbnail item at the given location in the collection. The display is updated if appropriate |