GridAndGuidesResouce

GridAndGuidesResouce class

Represents the grid and guides resource.

public sealed class GridAndGuidesResouce : ResourceBlock

Constructors

Name Description
GridAndGuidesResouce() The default constructor.

Properties

Name Description
override DataSize { get; } Gets the resource data size in bytes.
GridCycleX { get; set; } Gets or sets the horizontal grid cycle. The default is 576.
GridCycleY { get; set; } Gets or sets the vertical grid cycle. The default is 576.
GuideCount { get; } Gets the guide resource blocks count.
Guides { get; set; } Gets or sets the guides.
HeaderVersion { get; set; } Gets or sets the header version. This value should be always 1.
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).
Signature { get; } Gets the resource signature. Should be always ‘8BIM’.
Size { get; } Gets the resource block size in bytes including its data.

Methods

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

See Also