Category Graphics and model display, Object ProText

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.
Synopsis
#include <ProNote.h>
ProErrorProTextStyleFontSet(
ProTextStyle text_style
/* (In)
The text style
*/
wchar_t* font
/* (In)
Name of the font.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the font.
PRO_TK_BAD_INPUTSOne or more input arguments is invalid.

Manual References:

  1. User Interface: Basic Graphics: Controlling Text Fonts
  2. Technical Summary of Changes for Creo 4.0 F000: Text Properties
  3. Technical Summary of Changes for Creo 4.0 F000: Detail Note Data
  4. Drawings: Detail Note Text Data
  5. Drawings: Detail Note Text Data