The function
ProTextFontDefaultIdGet() returns the identifier of the default
Creo+ text font.
The text fonts are identified in
Creo+ by names, and in
Creo TOOLKIT by integer identifiers. To move between the two types of font identifiers, use the functions
ProTextFontNameGet() and
ProTextFontNameToId(). Because the internal font identifiers could change between
Creo+ sessions, it is important to call
ProTextFontNameToId() each time you want to modify the font in
Creo TOOLKIT.
The function
ProTextFontRetrieve() loads a font with the specified name that can be used to display the text.
The functions
ProTextStyleFontGet() and
ProTextStyleFontSet() get and set the font used to display the text. The fonts are those available in the
Font selector in the
Text Style dialog in
Creo+.