piFontSize - DFBaseTextEdit
Sets or returns font size of all text in control
Type: Property
Access: Read/Write
Data Type: integer
Parameters: None
Syntax
Property integer piFontSize
| Access Type | Syntax |
|---|---|
| Read Access: | Get piFontSize to integerVariable |
| Write Access: | Set piFontSize to integerVariable/Value |
Description
Sets or returns the font size of all text in the control.
This property uses twips, which are 1/1440 of an inch, or 1/20 of a printer's point.
Sample
This sample sets the font size of the text in control oTextEdit1 to 14 printer's points.
Procedure SetFontSize
integer iFontSize iPoints
// number of printer's points
move 14 to iPoints
// 20 twips = 1 printer's point
set piFontSize of oTextEdit1 to (iPoints * 20)
End_Procedure // SetFontSize