Category Graphics and model display, Object ProText

Function ProTextStyleFontGet


Description
Gets the font of the text.
Synopsis
#include <ProNote.h>
ProErrorProTextStyleFontGet(
ProTextStyle text_style
/* (In)
The text style
*/
wchar_t** font
/* (Out)
Name of the font. Free this using ProWstringFree()
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully got the font.
PRO_TK_GENERAL_ERRORThe text style has a mixed state for the font.
PRO_TK_E_NOT_FOUNDThe text style uses the default font setting.
PRO_TK_BAD_INPUTSOne or more input arguments is invalid.

Manual References:

  1. Drawings: Detail Note Text Data
  2. Drawings: Detail Note Text Data
  3. Drawings: Detail Note Data
  4. User Interface: Basic Graphics: Controlling Text Fonts
  5. User Interface: Basic Graphics: Controlling Text Fonts

Sample Code References:

  1. pt_examples ( TestDtlnote.c )