AcMapIEExporter::CountObjects Method

Land Desktop Development ARX CPP SDK

AcMapIEExporter:: CountObjects Method
 

Counts the number of objects to export in the current drawing.

virtual AcMapIE::ErrCode CountObjects(
    int& numPoints, 
    int& numLines, 
    int& numPolygons, 
    int& numText, 
    int& numTotal
) = 0;
Parameters 
Description 
numPoints 
Output number of points to export. 
numLines 
Output number of lines to export. 
numPolygons 
Output number of polygons to export. 
numText 
Output number of text entities to export. 
numTotal 
Output total number of entities to export. 
Returns

Returns AcMapIE::ErrCode kErr_OK if successful. Returns AcMapIE::ErrCode kErr_OutOfMemory if system resources are insufficient. Returns AcMapIE::ErrCode kErr_Fail if the process failed for some other reason.

Remarks

The output values depend on the Layer filter, Feature class filter, and selection set.

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