Class PrintScaleResource

PrintScaleResource class

Print Scale resource

public sealed class PrintScaleResource : ResourceBlock

Constructors

NameDescription
PrintScaleResource()The default constructor.

Properties

NameDescription
override DataSize { get; }Gets the resource data size in bytes.
ID { get; set; }Gets or sets the unique identifier for the resource.
override MinimalVersion { get; }Gets the minimal required PSD version.
Name { get; set; }Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
Scale { get; set; }Gets or sets the scale.
Signature { get; }Gets the resource signature. Should be always ‘8BIM’.
Size { get; }Gets the resource block size in bytes including its data.
Style { get; set; }Gets or sets the style.
XLocation { get; set; }Gets or sets the x location.
YLocation { get; set; }Gets or sets the y location.

Methods

NameDescription
Save(StreamContainer)Saves the resource block to the specified stream.
virtual ValidateValues()Validates the resource values.

See Also