Method Measure
Measure(DxfEntity)
Asks the app what an object would take on the page once added, without adding it: the box of everything it draws and the frame of each word, drawn by the app's own code in the app's own text styles, fonts and dimension styles. A dimension is drawn in the style it names. A text or MTEXT that names a text style names one the drawing has.
public CadRemoteMeasurement Measure(DxfEntity entity)
Parameters
entityDxfEntityThe object, made in code or read from the app; it is copied now and not changed.
Returns
- CadRemoteMeasurement
The box and the frames.
Exceptions
- ArgumentNullException
Thrown when the entity is null.
- CadRemoteException
Thrown when the drawing is closed or the app refuses the object (a style it has not).