AcMapDMTopoQueryElement:: AddStyle Method
Adds a new style to this element.
virtual Acad::ErrorStatus AddStyle( AcDbObjectId& styleRefId, const AcDbObjectId& styleId, AcMapDMAllStyleReferencesIterator& Position );
Parameters |
Description |
styleRefId |
Output ID of the added style reference. |
styleId |
Input ID of the style. |
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. TopoElement will not accept AcMapDMSEAnnotationStyle.
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].