Method GetBounds
GetBounds(string)
Gets the box every entity of a space takes as the app draws it: the letters of an SHX or TrueType word and not its insertion point, the picture of a dimension, a block however deep and scaled, the columns of an MTEXT. An entity that draws nothing has no row. A line from (0, 0) to (100, 40) has the box from (0, 0) to (100, 40).
public CadRemoteBounds GetBounds(string layout)
Parameters
layoutstringThe name of a layout, or null or empty for model space.
Returns
- CadRemoteBounds
The boxes, in the order the space is drawn.
Exceptions
- CadRemoteException
Thrown when the drawing is closed or has no layout of that name.