TransparencyIndexResource class

TransparencyIndexResource class

The transparency index resource block.

Inheritance: TransparencyIndexResourceResourceBlock

The TransparencyIndexResource type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the TransparencyIndexResource class.

Properties

PropertyDescription
signatureGets the resource signature. Should be always ‘8BIM’.
idGets or sets the unique identifier for the resource.
nameGets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
data_sizeGets the resource data size in bytes.
sizeGets the resource block size in bytes including its data.
minimal_versionGets the minimal required psd version.
RESOUCE_BLOCK_SIGNATUREThe resource signature.
transparency_indexGets or sets the transparency color index.

Methods

MethodDescription
saveSaves the resource block to the specified stream.
validate_valuesValidates the resource values.

See Also