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:
pfcAnnotationTextStyle::SetFont
Synopsis
#include <
ProNote.h
>
ProError
ProTextStyleFontSet
(
ProTextStyle
text_style
/* (In)
The text style
*/
wchar_t
* font
/* (In)
Name of the font.
*/
)
Returns
PRO_TK_NO_ERROR
The function successfully set the font.
PRO_TK_BAD_INPUTS
One or more input arguments is invalid.
Sample Code References
pt_examples ( TestDtlnote.c )
pt_userguide ( UgNoteCreate.c )
User Guide References
Controlling Text Fonts:ProTextStyleFontSet
Detail Note Text Data:ProTextStyleFontSet
Parent topic
Object ProText
War dies hilfreich?
Diese Website funktioniert am besten, wenn JavaScript aktiviert ist.