ThumbnailResource Class

The thumbnail resource block.
Inheritance Hierarchy
SystemObject
  Aspose.CAD.FileFormats.PsdResourceBlock
    Aspose.CAD.FileFormats.Psd.ResourcesThumbnailResource
      Aspose.CAD.FileFormats.Psd.ResourcesThumbnail4Resource

Namespace:  Aspose.CAD.FileFormats.Psd.Resources
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 21.11
Syntax
public class ThumbnailResource : ResourceBlock

The ThumbnailResource type exposes the following members.

Constructors
  NameDescription
Public methodThumbnailResource
Initializes a new instance of the ThumbnailResource class.
Properties
  NameDescription
Public propertyBitsPixel
Gets or sets the bits pixel.
Public propertyDataSize
Gets the resource data size in bytes.
(Overrides ResourceBlockDataSize.)
Public propertyHeight
Gets or sets the height of thumbnail in pixels.
Public propertyID
Gets or sets the unique identifier for the resource.
(Inherited from ResourceBlock.)
Public propertyJpegOptions
Gets or sets the JPEG options. Suitable when thumbnail resource is saved into JPEG file format only. This option has no effect when RAW format is defined.
Public propertyMinimalVersion
Gets the minimal required psd version.
(Overrides ResourceBlockMinimalVersion.)
Public propertyName
Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
(Inherited from ResourceBlock.)
Public propertyPlanesCount
Gets or sets the planes count.
Public propertySignature
Gets the resource signature. Should be always '8BIM'.
(Inherited from ResourceBlock.)
Public propertySize
Gets the resource block size in bytes including its data.
(Inherited from ResourceBlock.)
Public propertySizeAfterCompression
Gets or sets the size after compression. Used for consistency check.
Public propertyThumbnailArgb32Data
Gets or sets the 32-bit ARGB thumbnail data.
Public propertyThumbnailData
Gets or sets the thumbnail data.
Public propertyTotalSize
Gets the total data size.
Public propertyWidth
Gets or sets the width of thumbnail in pixels.
Public propertyWidthBytes
Gets the row width in bytes.
Methods
  NameDescription
Protected methodCacheData
Caches the data for subsequent faster retrieval.
(Overrides ResourceBlockCacheData.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Saves the resource block to the specified stream.
(Inherited from ResourceBlock.)
Protected methodSaveCommonData
Saves the common data.
Protected methodSaveData
Saves the resource block data.
(Overrides ResourceBlockSaveData(StreamContainer).)
Protected methodStopDataCache
Stops data caching.
(Overrides ResourceBlockStopDataCache.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateValues
Validates the resource values.
(Overrides ResourceBlockValidateValues.)
See Also