Table of Contents

Constructor DxfAlignedDimension

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfAlignedDimension()

Initializes an aligned dimension of the origin to the origin, as AutoCAD's new AlignedDimension(), in the style Standard.

public DxfAlignedDimension()

DxfAlignedDimension(GeoPoint3, GeoPoint3, GeoPoint3, string, DxfDimStyleTableRecord)

Initializes an aligned dimension, as AutoCAD's new AlignedDimension(line1Point, line2Point, dimensionLinePoint, dimensionText, dimensionStyle), in no file until it is added to one; it needs its DimBlock before it is.

public DxfAlignedDimension(GeoPoint3 line1Point, GeoPoint3 line2Point, GeoPoint3 dimensionLinePoint, string dimensionText, DxfDimStyleTableRecord dimensionStyle)

Parameters

line1Point GeoPoint3

Where the first extension line starts, in world coordinates.

line2Point GeoPoint3

Where the second starts.

dimensionLinePoint GeoPoint3

A point of the dimension line.

dimensionText string

The text, as DimensionText; empty or null for the measurement.

dimensionStyle DxfDimStyleTableRecord

The style it is drawn in, by its name; null for Standard.

Exceptions

ArgumentException

Thrown when a coordinate is not a finite number.