Get Draw Font


Description

With this action you can get the ID value of the font currently assigned for drawing. The value returned will be either -1 for no font assigned, or a value >= 0 that represents a font constant from the resource tree.


Action Syntax:

Get Draw Font Syntax


Example:

Get Draw Font Example
The above action block code checks the current font being used for drawing, and if it's not the given resource, then it is set to that resource.