ResolutionInfoResource Class
Contents
[
Hide
]Summary: The resolution info resource
Module: aspose.psd.fileformats.psd.resources
Full Name: aspose.psd.fileformats.psd.resources.ResolutionInfoResource
Inheritance: ResourceBlock
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
ResolutionInfoResource() | Initializes a new instance of the ResolutionInfoResource class |
Properties
Name | Type | Access | Description |
---|---|---|---|
RESOUCE_BLOCK_ME_SA_SIGNATURE [static] | int | r | The resource signature of ImageReady. |
RESOUCE_BLOCK_SIGNATURE [static] | int | r | The regular Photoshop resource signature. |
data_size | int | r | Gets the resource data size in bytes. |
h_dpi | FixedPointDecimal | r/w | Horizontal DPI. |
h_res_display_unit | ResolutionUnit | r/w | Display units for horizontal resolution. This only affects the user interface; the resolution is still stored in the PSD file as pixels/inch. |
height_display_unit | PhysicalUnit | r/w | Gets or sets the height display unit. |
id | short | r/w | Gets or sets the unique identifier for the resource. |
minimal_version | int | r | Gets the minimal required PSD version. |
name | string | r/w | Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0). |
signature | int | r | Gets the resource signature. Should be always ‘8BIM’. |
size | int | r | Gets the resource block size in bytes including its data. |
v_dpi | FixedPointDecimal | r/w | Vertical DPI. |
v_res_display_unit | ResolutionUnit | r/w | Display units for vertical resolution. |
width_display_unit | PhysicalUnit | r/w | Gets or sets the width display unit. |
Methods
Name | Description |
---|---|
save(stream) | Saves the resource block to the specified stream. |
validate_values() | Validates the resource values. |
Constructor: ResolutionInfoResource()
ResolutionInfoResource()
Initializes a new instance of the ResolutionInfoResource class
Method: save(stream)
save(stream)
Saves the resource block to the specified stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | StreamContainer | The stream to save the resource block to. |