CT GET CHART 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 CHART FILL ATTRIBUTES (area; object; partType; partSpecifics; pattern; color)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
partTypeIntegerType of object for which to get attributes
partSpecificsLongintSpecific part of object for which to get attributes
patternIntegerReceives pattern number (1 to 36)
colorLongintReceives color value

Description

The CT GET CHART FILL ATTRIBUTES command gets the fill attributes of the chart object specified by area, object, partType, and partSpecifics.

partType and partSpecifics specify the part of the graph for which to get the attributes. The codes for these parameters are listed in the section Parameter Codes.

pattern is an integer from 1 to 36 that specifies one of the patterns available on the Pattern palette. Codes for the pattern parameter are listed in the section Parameter Codes.

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: To get the attributes of objects added to the document using the drawing tools or the drawing functions, use the commands in the Object theme.

Example

This example returns the fill attributes of the first series of the chart specified by $ChartID in the $Pattern and $Color parameters.

   CT GET CHART FILL ATTRIBUTES (Area;$ChartID;8;100;$Pattern;$Color)

See Also

CT SET CHART FILL ATTRIBUTES.


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