Weight
property for PowerScript controls
Applies to
Controls that can display text
Description
The Weight property specifies the stroke weight of the text in the
control.
Usage
In a painter
To set the stroke weight of all text in a control:
-
Display the Font tab page of the control’s Properties view and
select the Bold check box, or select the control and then click the B
button on the StyleBar.
To set the stroke weight of a text object in a graph
control:
-
Display the Text tab page of the graph control’s Properties view
and select the desired text object from the Text Object list
box. -
Select the Bold check box.
In scripts
The Weight property takes an integer value. 400 indicates a normal
weight and 700 indicates a bold weight. The following example sets the
text labels of the tab pages of a tab control to bold:
|
1 |
tab_1.Weight = 700 |