CgEdResource Class
Contents
[
Hide
]Summary: Class CgEdResource. Content Generator Extra Data (Photoshop CS5)
Module: aspose.psd.fileformats.psd.layers.layerresources
Full Name: aspose.psd.fileformats.psd.layers.layerresources.CgEdResource
Inheritance: AdjustmentLayerResource
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| CgEdResource() | Initializes a new instance of the CgEdResource class |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| PSB_RESOURCE_SIGNATURE [static] | int | r | The PSB-specific resource signature. |
| RESOURCE_SIGNATURE [static] | int | r | The common resource signature. |
| TYPE_TOOL_KEY [static] | int | r | The type tool info key. |
| auto | bool | r/w | Gets or sets a value indicating whether this CgEdResource is automatic. |
| brightness | int | r/w | Gets or sets the brightness. |
| contrast | int | r/w | Gets or sets the contrast. |
| key | int | r | Gets the layer resource key. |
| lab_color | bool | r/w | Gets or sets a value indicating whether [lab color] is used. |
| length | int | r | Gets the layer resource length in bytes. |
| mean_value_for_brightness_and_contrast | int | r/w | Gets or sets the mean value for brightness and contrast. |
| psd_version | int | r | Gets the minimal psd version required for layer resource. 0 indicates no restrictions. |
| signature | int | r | Gets the signature. |
| use_legacy | bool | r/w | Gets or sets a value indicating whether [use legacy]. |
| version | int | r/w | Gets or sets the version. |
Methods
| Name | Description |
|---|---|
| save(stream_container, psd_version) | Saves the resource to the specified stream container. |
Constructor: CgEdResource()
CgEdResource()
Initializes a new instance of the CgEdResource class
Method: save(stream_container, psd_version)
save(stream_container, psd_version)
Saves the resource to the specified stream container.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream_container | StreamContainer | The stream container to save to. |
| psd_version | int | The PSD version. |