Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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


Remarks

Applies To: XFRX#DRAW, XFRX#XML