Method XbpPresSpace():setFont() Foundation
Sets or returns the font used to display characters drawn with GraStringAt().
:setFont( [<oXbpFont>] ) --> oXbpCurrentFont
The :setFont() method returns the current font object. When a new font is set, this method returns the previously set font object.
The :setFont() method determines the font used for the graphic output of characters or character strings in the presentation space. The font is provided by an XbpFont object (see XbpFont()). The :setFont() method installs an XbpFont object which is used by the function GraStringAt() to display characters.
The functional equivalent of the method :setFont() is the function GraSetFont(). Further information is found in the discussion of the GraSetFont() function.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.