Click or drag to resize

ThumbnailCollection Class

Contains a collection of Thumbnail objects.
Inheritance Hierarchy
SystemObject
  System.CollectionsCollectionBase
    Atalasoft.Imaging.WinControlsThumbnailCollection

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public sealed class ThumbnailCollection : CollectionBase, 
	IDisposable

The ThumbnailCollection type exposes the following members.

Properties
  NameDescription
Public propertyCapacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Public propertyCount
Gets the number of items in this collection.
Public propertyIsFixedSize
Gets a value indicating whether this collection is fixed in size.
Public propertyIsSynchronized
Gets a value indicating whether access to the ThumbnailCollection is synchronized (thread-safe).
Public propertyItem
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ThumbnailCollection.
Top
Methods
  NameDescription
Public methodAdd(RandomAccessImageSource)
Adds images from a RandomAccessImageSource into the collection.
Public methodAdd(Thumbnail)
Adds a Thumbnail to the collection.
Public methodAdd(Stream, ThumbnailCaptionRequestEventHandler)
Adds all pages from a stream and gets the caption and tooltip from a ThumbnailCaptionRequestEventHandler.
Public methodAdd(String, ThumbnailCaptionRequestEventHandler)
Adds all pages of an image from a file and gets the caption and tooltip from a ThumbnailCaptionRequestEventHandler.
Public methodAdd(AtalaImage, String)
Add a Thumbnail to the collection by specifying the AtalaImage and caption.
Public methodAdd(RandomAccessImageSource, ThumbnailCaptionRequestEventHandler)
Adds images from a RandomAccessImageSource into the collection.
Public methodCode exampleAdd(String, Int32, String)
Adds a Thumbnail to the collection by specifying the filename, frame index and caption.
Public methodAdd(AtalaImage, String, String)
Add a Thumbnail to the collection by specifying the AtalaImage, caption and tooltip.
Public methodAdd(Stream, Int32, String, String)
Adds an image from a stream.
Public methodAdd(String, Int32, String, String)
Adds a Thumbnail to the collection by specifying the filename, frame index, caption and tooltip.
Public methodCode exampleAddRange
Adds an array of Thumbnail objects to the collection.
Public methodCancel
Cancels any pending thumbnails from being processed and/or loaded.
Public methodClear
Remove all images from the ThumbnailView control.
Public methodContains
This method indicates whether or not a Thumbnail is contained within the collection.
Public methodCopyTo(Thumbnail)
Copies Thumbnail objects from this collection into an array.
Public methodCopyTo(Thumbnail, Int32)
Copies Thumbnail objects from this collection into an array.
Public methodCopyTo(Int32, Thumbnail, Int32, Int32)
Copies Thumbnail objects from this collection into an array.
Public methodDispose
Clears the collection, disposing the Thumbnail objects in the process.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
This method will search for a specific Thumbnail and if found in the collection will return its index value.
Public methodInsert(Int32, Thumbnail)
Inserts a Thumbnail into the collection at the specified index.
Public methodInsert(Int32, Thumbnail)
Inserts an array of Thumbnails into the collection.
Public methodInsert(Int32, AtalaImage, String) Obsolete.
Inserts a Thumbnail into the collection by specifying the insert index, AtalaImage and caption.
Public methodInsert(Int32, RandomAccessImageSource, ThumbnailCaptionRequestEventHandler)
Inserts images from a RandomAccessImageSource into the collection.
Public methodInsert(Int32, Stream, ThumbnailCaptionRequestEventHandler)
Inserts all pages from a stream into the collection.
Public methodInsert(Int32, String, ThumbnailCaptionRequestEventHandler)
Inserts all pages from an image into the control.
Public methodInsert(Int32, AtalaImage, String, String)
Inserts a thumbnail into the collection from an AtalaImage.
Public methodInsert(Int32, String, Int32, String) Obsolete.
Inserts a Thumbnail into the collection by specifying the insert index, filename, frame index and caption.
Public methodInsert(Int32, Stream, Int32, String, String)
Inserts a thumbnail into the collection from a stream.
Public methodInsert(Int32, String, Int32, String, String)
Inserts a Thumbnail into the collection by specifying the insert index, filename, frame index, caption and tooltip.
Public methodCode exampleMove
Moves a Thumbnail to a new index.
Public methodReload
Reloads the thumbnails in the collection.
Public methodRemove(Thumbnail)
Removes a Thumbnail from the collection.
Public methodRemove(Thumbnail)
Removes an array of Thumbnail objects from the collection.
Public methodRemoveAt
Removes the Thumbnail at the specified index from the collection.
Public methodReplace(Int32, Thumbnail, Boolean)
Replaces one Thumbnail in the collection with another.
Public methodReplace(Thumbnail, Thumbnail, Boolean)
Replaces a Thumbnail in the collection with another.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Forces a thumbnail to create a new thumbnail image.
Top
Events
  NameDescription
Public eventBeforeCreateThumbnail
Raised before each thumbnail is created to allow the image used for the thumbnail to be modified or replaced.
Top
See Also