CADLayoutBox

  Functions >

CADLayoutBox

Previous pageReturn to chapter overviewNext page

The CADLayoutBox function retrieves the extents of the specified layout.

 

Syntax:

 

int CADLayoutBox(

  HANDLE hObject,

  LPFRECT lpfRect

);

 

 

Parameters:

 

hObject

Identifies the handle of the required layout.

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.

 

Example:

_FRECT f_rect;
CADLayoutBox(CurrentLayoutCAD(CADImage, 0, FALSE), &f_rect);

 

 

See Also

CADCreate  | CADLayout  | CADLayoutName  | CADLayoutVisible  | CurrentLayoutCAD


© 2003-2021 CADSoftTools

Go to CAD DLL