ResolutionInfoResource class

The resolution info resource

public sealed class ResolutionInfoResource : ResourceBlock


Name Description
ResolutionInfoResource() The default constructor.


Name Description
override DataSize { get; } Gets the resource data size in bytes.
HDpi { get; set; } Horizontal DPI.
HeightDisplayUnit { get; set; } Gets or sets the height display unit.
HResDisplayUnit { get; set; } Display units for horizontal resolution. This only affects the user interface; the resolution is still stored in the PSD file as pixels/inch.
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.
VDpi { get; set; } Vertical DPI.
VResDisplayUnit { get; set; } Display units for vertical resolution.
WidthDisplayUnit { get; set; } Gets or sets the width display unit.


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

See Also