API-Dokumentation > Graphics and model display > Object ProText > Function ProTextStyleFontSet
Function ProTextStyleFontSet
Description
Sets the font of the text. For ttf fonts, we have seperate fonts for italic/bold. Use proper font to set text as italic or Bold.
Replacement in Object TOOLKIT:
Synopsis
#include <ProNote.h>
ProTextStyleFontSet
(
ProTextStyle text_style
/* (In)
The text style
*/
wchar_t* font
/* (In)
Name of the font.
*/
)
Returns
The function successfully set the font.
One or more input arguments is invalid.
Sample Code References
User Guide References
War dies hilfreich?