AiLayerSection Class

Summary: The Ai format Layer Section

Module: aspose.psd.fileformats.ai

Full Name: aspose.psd.fileformats.ai.AiLayerSection

Inheritance: AiDataSection

Aspose.PSD Version: 24.6.0

Properties

NameTypeAccessDescription
blueintr/wGets or sets the blue color component.
color_indexintr/wGets 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_numberintr/wGets or sets the color number. -1 is the custom color value from Red, Green, Blue properties.
Specifies the layer’s color setting.
dim_valueintr/wGets or sets the dim value as percentage.
Reduces the intensity of linked images and bitmap images contained in the layer to the specified percentage.
disposedboolrGets a value indicating whether this instance is disposed.
greenintr/wGets or sets the green color component.
has_multi_layer_masksboolr/wGets or sets a value indicating whether this instance has multilayer masks.
is_images_dimmedboolr/wGets or sets a value indicating whether this layer is dimmed.
Reduces the intensity of linked images and bitmap images contained in the layer.
is_lockedboolr/wGets or sets a value indicating whether this layer is locked.
Prevents changes to the item.
is_previewboolr/wGets or sets a value indicating whether this layer is preview.
Displays the artwork contained in the layer in color instead of as outlines.
is_printedboolr/wGets or sets a value indicating whether this layer is printed.
Makes the artwork contained in the layer printable if true.
is_shownboolr/wGets or sets a value indicating whether this layer is shown.
Displays all artwork contained in the layer on the artboard if true.
is_templateboolr/wGets or sets a value indicating whether this layer is a template layer.
namestringr/wGets or sets the layer name.
Specifies the name of the item as it appears in the Layers panel.
raster_imagesAiRasterImageSection[]rGets the raster images.
redintr/wGets or sets the red color component.

Methods

NameDescription
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:

ParameterTypeDescription
raster_imageAiRasterImageSectionThe raster image.

Method: get_data()

 get_data() 

Gets the string data.

Returns

TypeDescription
stringThe string data of section