AcMapAnnotationManager::GetExpressionString Function

Land Desktop Development ARX CPP SDK

AcMapAnnotationManager:: GetExpressionString Function
 

Retrieves an expression that is stored with an annotation template, annotation reference, or annotation text object.

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

AcMapAnnotationManager.h

Parameters 
Description 
pszExpressionString 
Output expression string stored with the object. The caller must free this object explicitly, typically with acutDelString().  
pObj 
Input pointer to the AcDbBlockTableRecord (template), AcDbBlockReference (reference), or AcDbAttributeDefinition (text) to retrieve the expression from.  
field 
Input eAnnotationExpressionFieldsvalue of the expression to retrieve. 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].