Object ProGtoltext

Function ProGtoltextTextstyleSet


Description
Sets the text style for the additional text applied to a geometric tolerance. Note that not all text style properties are supported for gtol additional text; unsupported properties are ignored by this function.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProGtol.h>
ProErrorProGtoltextTextstyleSet(
ProGtol* gtol
/* (In)
The geometric tolerance.
*/
ProGtolTextType text_type
/* (In)
The instance of additional text to access.
*/
ProTextStyle text_style
/* (In)
The text style.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_BAD_CONTEXTThe gtol text style cannot be varied.
PRO_TK_CANT_WRITECannot modify the gtol because it is read-only.

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Annotations: Geometric Tolerances: Geometric Tolerance Text Style
  3. Annotations: Geometric Tolerances: Geometric Tolerance Text Style