Table of Contents

Class CadStyleMeasure

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

A distance (or an angle) a field of a style dialog sets, measured on the sample so that the preview can show it as a callout: the two points it runs between in the sample's drawing coordinates, the variable and the value as the field shows it. The sample's own scale is in the points: at DIMSCALE 25 the measure of DIMEXE 1.25 is 31.25 long, its label still reads 1.25.

public sealed class CadStyleMeasure
Inheritance
CadStyleMeasure
Inherited Members

Properties

Angle

Gets the angle in radians of an angle callout, an arc about From of the radius |To - From| that starts towards To and runs through this angle, counter-clockwise where it is above nought; null for a distance.

From

Gets where it starts, in the drawing coordinates of the sample; for a point alone (an attachment) where the point is, To the same.

Key

Gets the key of the field it belongs to, as DIMEXE.

Label

Gets the label as the preview writes it: the variable and the value as the field shows it, as DIMEXE = 1.25.

To

Gets where it ends, in the drawing coordinates of the sample.

Methods

ToString()