AiLayerSection Class
Contents
[
Hide
]Summary: The Ai format Layer Section
Module: aspose.psd.fileformats.ai
Full Name: aspose.psd.fileformats.ai.AiLayerSection
Inheritance: AiDataSection
Aspose.PSD Version: 24.12.0
Properties
| Name | Type | Access | Description | 
|---|---|---|---|
| blue | int | r/w | Gets or sets the blue color component. | 
| color_index | int | r/w | Gets or sets the index of the color. This argument can take on values between –1 and 26. Each integer represents a color that can be assigned to the layer for user identification purposes. | 
| color_number | int | r/w | Gets or sets the color number. -1 is the custom color value from Red, Green, Blue properties. Specifies the layer’s color setting. | 
| dim_value | int | r/w | Gets or sets the dim value as percentage. Reduces the intensity of linked images and bitmap images contained in the layer to the specified percentage. | 
| disposed | bool | r | Gets a value indicating whether this instance is disposed. | 
| green | int | r/w | Gets or sets the green color component. | 
| has_multi_layer_masks | bool | r/w | Gets or sets a value indicating whether this instance has multilayer masks. | 
| is_images_dimmed | bool | r/w | Gets or sets a value indicating whether this layer is dimmed. Reduces the intensity of linked images and bitmap images contained in the layer. | 
| is_locked | bool | r/w | Gets or sets a value indicating whether this layer is locked. Prevents changes to the item. | 
| is_preview | bool | r/w | Gets or sets a value indicating whether this layer is preview. Displays the artwork contained in the layer in color instead of as outlines. | 
| is_printed | bool | r/w | Gets or sets a value indicating whether this layer is printed. Makes the artwork contained in the layer printable if true. | 
| is_shown | bool | r/w | Gets or sets a value indicating whether this layer is shown. Displays all artwork contained in the layer on the artboard if true. | 
| is_template | bool | r/w | Gets or sets a value indicating whether this layer is a template layer. | 
| name | string | r/w | Gets or sets the layer name. Specifies the name of the item as it appears in the Layers panel. | 
| raster_images | AiRasterImageSection[] | r | Gets the raster images. | 
| red | int | r/w | Gets or sets the red color component. | 
Methods
| Name | Description | 
|---|---|
| add_raster_image(raster_image) | Adds the raster image. | 
| get_data() | Gets the string data. | 
Method: add_raster_image(raster_image)
 add_raster_image(raster_image) 
Adds the raster image.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| raster_image | AiRasterImageSection | The raster image. | 
Method: get_data()
 get_data() 
Gets the string data.
Returns
| Type | Description | 
|---|---|
| string | The string data of section |