Class DrawContext : selectFont Method


void selectFont( String fontName, Integer heightPixels, Boolean bold, Boolean italic, Boolean underline )

Summary

Select a font to be used for all direct text drawing.


Parameters

ParameterDescription
String fontName Font name to use e.g. "tahoma"
Integer heightPixels Desired height, in pixels
Boolean bold Font should be bold
Boolean italic Font should be italic
Boolean underline Font should be underlined.


See Also

  • DrawContext : drawEllipsisText
  • DrawContext : drawText
  • DrawContext : measureText


    Requirements

    build 1065