The CADLayoutsCount function returns the number of the layouts in the CAD file.
Syntax:
int CADLayoutsCount(
HANDLE hObject
);
Parameters:
hObject |
Identifies the opened CAD drawing object handle. |
Return Value:
If the function succeeds, the return value is a number of layouts in the CAD drawing object, specified by hObject.
If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.
See Also
Go to CAD DLL