CADGetBox

  Functions >

CADGetBox

Previous pageReturn to chapter overviewNext page

The CADGetBox function gets left, top, right, and bottom coordinates of the rectangle that contains CAD drawing object.

 

Syntax

 

int CADGetBox (

  HANDLE hObject,

  float *Left,

  float *Right,

  float *Top,

  float *Bottom

);

 

 

Parameters

 

hObject

Identifies a handle to the CAD drawing.

Left

Specifies the left coordinate.

Right

Specifies the right coordinate.

Top

Specifies the top coordinate.

Bottom

Specifies the bottom coordinate.

 

 

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

 

 

See Also

CADCreate  | GetEntityBox


© 2003-2024 CADSoftTools

Go to CAD DLL