Accusoft.ThumbnailXpress6.Net
ThumbnailItemCollection Class Members
Properties  Methods 

The following tables list the members exposed by ThumbnailItemCollection.

Public Properties
 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCountGets the number of items in the collection.  
Public PropertyIsFixedSizeRead-only property returning whether the collection is a fixed size.  
Public PropertyIsReadOnlyRead-only property returning whether the collection access is read-only.  
Public PropertyIsSynchronizedRead 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.  
Public PropertyItemRead-only property returning the ThumbnailItem object from the given collection index.  
Public PropertySyncRootRead-only property returning an object that can be used to synchronize access to the collection.  
Top
Public Methods
 NameDescription
Public MethodAddOverloaded. 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.  
Public MethodAddItemFromStreamAdds 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.  
Public MethodAddItemsFromDirectoryAdds thumbnail items to the collection from the provided directory.  
Public MethodAddItemsFromFileAdds 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.  
Public MethodClearThis method clears all thumbnails out of the collection. The display is updated.  
Public MethodContainsThis method provides an indication as to whether the collection contains the given ThumbnailItem. The matching criteria is based on the filename / page number information.  
Public MethodCopyToCopy the collection to an array of ThumbnailItems.  
Public MethodGetEnumeratorReturns an enumerator for traversing the collection.  
Public MethodIndexOfThis method returns the index of the given ThumbnailItem in the collection. The matching criteria is based on the filename / page number information.  
Public MethodInsertOverloaded. 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.  
Public MethodInsertItemFromStreamThis 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.  
Public MethodRefreshThis 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  
Public MethodRemoveThis 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  
Public MethodRemoveAtThis method removes the thumbnail item at the given location in the collection. The display is updated if appropriate  
Top
See Also

Reference

ThumbnailItemCollection Class
Accusoft.ThumbnailXpressSdk Namespace

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback