GetEntityBox

  Functions >

GetEntityBox

Previous pageReturn to chapter overviewNext page

The GetEntityBox function returns box of the entity from CADImage according to a 64-bit Handle.

 

Syntax:

 

int GetEntityBox (

  HANDLE AHandle,

    UINT64 AObjHandle,

    LPFRECT ARect

);

 

 

Parameters:

 

AHandle

Identifies the CADImage object handle.

AObjHandle

64-bit Handle of the entity.

ARect

Pointer to the buffer that is to receive the extents of the CADImage object in Autocad coordinates.

 

 

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

CADCreate  | CADGetEntityHandle


© 2003-2021 CADSoftTools

Go to CAD DLL