CT GET FILL ATTRIBUTES

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT GET FILL ATTRIBUTES (area; scope; pattern; color)

ParameterTypeDescription
areaLongint4D Chart area
scopeLongintScope of the command
-2 = Default
-1 = All
0 = Selected objects
>0 = Object ID
patternIntegerReceives pattern (0 to 36)
colorLongintReceives color value

Description

The CT GET FILL ATTRIBUTES command returns in the variables the fill attributes for the object(s) in area described by scope. Fill attributes are determined by the interiors of objects.

pattern is the number of the pattern in the palette. The following are the codes for the pattern parameter:

color is a long integer that specifies the color of the object. You can specify a value for the color parameter by using the CT Index to color or the CT RGB to color functions.

Note: Use this command to get the attributes of objects added to the document using the drawing tools or the drawing functions in this theme. To get the attributes of chart objects, such as series columns, use the commands in the Chart theme.

Example

This example returns the selected object's fill attributes in the $Pattern and $Color variables.

   CT GET FILL ATTRIBUTES (Area;0;$Pattern;$Color)

See Also

CT GET CHART FILL ATTRIBUTES, CT SET FILL ATTRIBUTES.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next