Sets font name and attributes for subsequent DrawText() or DrawTextBox() calls.
Syntax:
Code Block |
---|
XFRXDraw::Object.SetFont(tcFontName, tnSize [, tlBold [, tlItalic [, tlUnderline [, tlStrikeThrough]]]]) |
Parameters
tcFontName
The font name
...
tlBold, tlItalics, tlUnderline, tlStrikeThrough
The font attributes. These parameters are optional, the default value is .F. Parameter tlStrikeThrough is since XFRX 15.7