4D Chart v13

CT SET CHART TEXT ATTRIBUTES

Home

 
4D Chart v13
CT SET CHART TEXT ATTRIBUTES

CT SET CHART TEXT ATTRIBUTES 


 

CT SET CHART TEXT ATTRIBUTES ( area ; object ; partType ; partSpecifics ; fontID ; fontSize ; style ; color ) 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
partType  Integer in Type of object for which to get attributes
partSpecifics  Longint in Specific part of object for which to get attributes
fontID  Integer in Font ID -1 = No change
fontSize  Integer in Font size -1 = No change
style  Integer in Code for font style -1 = No change
color  Longint in Color value -1 = No change

The CT SET CHART TEXT ATTRIBUTES command sets the attributes of the chart text specified by area, object, partType, and partSpecifics.

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

fontID is the ID of the font in your system. You can get the ID number of a font using the CT Font number function.

fontSize is the size in points of the highlighted text or text object(s).

style is a composite number that results from the addition of several style numbers. The following table lists the style numbers:

ValueStyle
0Plain
1Bold
2Italic
4Underline
8Outlined (Macintosh only)
16Shadowed (Macintosh only)

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.

See the example for the CT GET CHART TEXT ATTRIBUTES command.

Note: To set the attributes of text added to the document using the Text tool or the CT Draw text function, use the commands in the CT Objects theme.

Example  

See the example for the CT GET CHART TEXT ATTRIBUTES command.

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14536

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT GET CHART TEXT ATTRIBUTES