AcMapAnnotationManager::SetExpressionString Function

Land Desktop Development ARX CPP SDK

AcMapAnnotationManager:: SetExpressionString Function
 

Sets an expression to store with an annotation template, annotation reference, or annotation text object.

Acad::ErrorStatus SetExpressionString(
    const ACHAR* pszExpressionString, 
    AcDbObject* pObj, 
    AcMapAnnotationManager::eAnnotationExpressionFields field
);
File

AcMapAnnotationManager.h

Parameters 
Description 
pszExpressionString 
Input expression to store with the object.  
pObj 
Input pointer to the AcDbBlockTableRecord (template), AcDbBlockReference (reference), or AcDbAttributeDefinition (text) to store the expression with.  
field 
Input eAnnotationExpressionFieldsvalue of the expression to store. For annotation templates and annotation references, use only kBlockXxx codes; for annotation text entities, use only kAttDefXxx 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].