Applies to
Controls that can display text
Description
The FontPitch property specifies the spacing of the font used for the text in the control.
When working in a painter, setting the font face name causes the correct font pitch to be selected.
Usage
In a painter
To set the font spacing:
- 
                     
Select a font spacing from the FontPitch list box on the Font tab page of the control's Properties view.
 
To set the font spacing of text objects in a graph control:
- 
                     
Display the Text tab page of the graph control's Properties view.
 - 
                     
Select the desired text object from the Text Object list box.
 - 
                     
Select a font spacing from the FontPitch list box.
 
In scripts
The FontPitch property takes a value of the FontPitch enumerated datatype. The following example sets the font pitch for a static text control:
st_1.FontPitch = Fixed!


