Category 3D drawings and annotations, Object ProAnnotation

Function ProAnnotationTextstyleSet


Description
Assigns the text style to an annotation.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotation.h>
ProErrorProAnnotationTextstyleSet(
ProAnnotation* annotation
/* (In)
The annotation.
*/
ProDrawing drawing
/* (In)
If the annotation is owned by solid but displayed in drawing, pass the drawing here. Else pass NULL.
*/
ProAsmcomppath* comp_path
/* (In)
The assembly component path. Only needed for symbols that are shown more than once at different component paths. Otherwise, pass NULL.
*/
ProView view
/* (In)
Reserved for future expansion. Pass NULL.
*/
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_E_NOT_FOUNDNo shown version of annotation was found in the drawing

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Annotations: Annotation Features and Annotations: Annotation Text Styles
  3. Annotations: Annotation Features and Annotations: Annotation Text Styles
  4. Annotations: Annotation Features and Annotations: Accessing Set Datum Tags
  5. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0