AcMapAnnotationManager:: SetExpressionString Function
Sets an expression string to store with an annotation template, annotation reference, or annotation text object.
Acad::ErrorStatus SetExpressionString( AcMapExpression & pExpression, AcDbObject* pObj, AcMapAnnotationManager::eAnnotationExpressionFields field );
File
AcMapAnnotationManager.h
Parameters |
Description |
pExpression |
Input expression to store with the object. |
pObj |
Input pointer to the AcDbBlockTableRecord (template), AcDbBlockReference (reference), or AcDbAttributeDefinition (text) to store the expression string with. |
field |
Input eAnnotationExpressionFieldsvalue of the expression to store. For annotation templates and annotation references, use only kBlock* codes; for annotation text entities, use only kAttDef* codes. |
Returns
Returns Acad::eOk if successful; otherwise, returns an error code.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].