Category 3D drawings and annotations, Category Graphics and model display, Object ProText

Function ProTextStyleSlantAngleSet


Description
Sets the slant angle of the text style. For non-ttf fonts you can set slant_angle to 20, to make the text italic.
Synopsis
#include <ProNote.h>
ProErrorProTextStyleSlantAngleSet(
ProTextStyle text_style
/* (In)
The text style
*/
double slant_angle
/* (In)
The slant angle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the slant angle.
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. Annotations: Annotation Features and Annotations: Text Style Properties

Sample Code References:

  1. pt_examples ( TestDtlnote.c )
  2. pt_examples ( TestSetup.c )
  3. pt_userguide ( UgNoteCreate.c )