XmpResouce class

XmpResouce class

Represents the XMP metadata resource.

Inheritance: XmpResouceResourceBlock

The XmpResouce type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the GridAndGuidesResouce 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.
xmp_dataGet or set XMP data container

Methods

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

See Also