The GetBoxCAD function retrieves the extents of the current layout.
Syntax:
int GetBoxCAD(
HANDLE hObject,
LPFRECT lpfRect
);
Parameters:
hObject  | 
Identifies the CADImage object handle.  | 
lpfRect  | 
Pointer to the buffer that is to receive extents of the layout.  | 
Return Value:
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.
See Also
© 2003-2025 CADSoftTools
Go to CAD DLL