Table of Contents

Class CadMeasurement

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What a thing would take on the page, found before it is added (CadMeasure): the box of everything it draws and the frame of each of its words. The box is the one Bounds(CadDocument, CadSpace) gives for the thing once it is added, and the frames are the ones Overlaps(CadDocument, CadSpace, CadOverlapOptions, Tolerance) looks at.

public sealed class CadMeasurement
Inheritance
CadMeasurement
Inherited Members

Properties

Box

Gets the box of everything the thing draws: its letters, lines and arrows. Empty where it draws nothing, a text of no words. A TEXT 5 high reading "Plate" set at (0, 0) in a font whose letters are 3 wide has the box from (0, 0) to (15, 5).

Frames

Gets the frame of each of its words, in the order they are drawn: one for a TEXT, one for each line run of an MTEXT, one for the words of a dimension. A word turned 30 degrees has a frame turned 30 degrees, whose box is larger than the word's own.