Category Graphics and model display, Object ProText

Function ProTextFontRetrieve


Description
Loads a font with specified name to be used for Creo Parametric text output.
Synopsis
#include <ProGraphic.h>
ProErrorProTextFontRetrieve(
wchar_t* font_name
/* (In)
The font name
*/
int* font_id
/* (Out)
id of the font if loaded successfully. -1 if function fails.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully loaded font in session.
PRO_TK_E_FOUNDFont already loaded in session.
PRO_TK_E_NOT_FOUNDFont not found.

Manual References:

  1. User Interface: Basic Graphics: Controlling Text Fonts
  2. User Interface: Basic Graphics: Controlling Text Fonts