Controlling Text Fonts
 
Functions Introduced:
The function ProTextFontDefaultIdGet() returns the identifier of the default text font.
The text fonts are identified in by names, and in 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 sessions, it is important to call ProTextFontNameToId() each time you want to modify the font in .
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 .
這是否有幫助?