Common properties
Many objects contain the same property. Some of the more common properties are color, dimension, and font.
Color property |
Syntax
Red, Green, Blue
Description
Each component is an integer from 0 to 255; 0 indicates that none of the hue is present; 255 indicates maximum saturation for the hue. Black is 0,0,0 and white is 255,255,255.
You can also retrieve each of these color components individually. The following table lists the argument required to read or set an individual component of a Color property. Item is the word appearing in property dialogs and property tables that describes what color is being manipulated.
The following table lists properties and syntax for Color:
Dimension property |
Syntax
X, Y, Width, Height
Description
Lets you specify the precise size and position of an object relative to the window containing it.
You can read or set an individual option of the Dimension property by using the following arguments:
The following table lists properties and syntax for the Dimension:
•
|
|
For drawn objects, measure Y Pos from the top of the chart background.
|
Font property |
Syntax
Typeface, PointSize, Bold, Italic, Underline, Strikeout
Description
Lets you specify the font attributes of the object. You can read or set an individual option of a Font property by using the following arguments.
The following table lists properties, arguments, and syntax for the Font:
Example
{Setproperty Cell_Font;”Arial;10;No;No;No;Yes”}