AcMapDMElement::AddStyle Method

Land Desktop Development ARX CPP SDK

AcMapDMElement:: AddStyle Method
 

Adds a new style to this element.

virtual Acad::ErrorStatus AddStyle(
    AcDbObjectId& styleRefId, 
    AcMapDMStyle* pStyle, 
    AcMapDMAllStyleReferencesIterator& Position
);
Parameters 
Description 
styleRefId 
Output ID of the added style reference.  
pStyle 
Input pointer to a AcMapDMStyleobject.  
Position 
Input position at which to add the style. See also AcMapDMAllStyleReferencesIterator 
Returns

Returns Acad::eOk if successful; otherwise, returns a different error code.

Remarks

The style object and the owning AcMapDMMap object must be closed for this function to succeed.

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].