The CADLayoutCount function returns the number of layouts in the CAD file.
Syntax
int CADLayoutCount(
HANDLE hObject
);
Parameters
hObject |
Identifies a handle to the CAD drawing |
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 CADGetLastError.
See Also
Go to CAD DLL