Function ProAnnotationTextstyleGet
Description
Obtains the text style assigned to an annotation.
Replacement in Object TOOLKIT:
Licensing Requirement
Synopsis
#include <ProAnnotation.h>
ProAnnotationTextstyleGet
(
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
/* (Out)
The text style. Free this using ProTextStyleFree().
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
No shown version of annotation was found in the drawing
Multiple shown versions of the annotation were found with different text styles.
User Guide References
¿Fue esto útil?