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
line1PointGeoPoint3Where the first extension line starts, in world coordinates.
line2PointGeoPoint3Where the second starts.
dimensionLinePointGeoPoint3A point of the dimension line.
dimensionTextstringThe text, as DimensionText; empty or null for the measurement.
dimensionStyleDxfDimStyleTableRecordThe style it is drawn in, by its name; null for Standard.
Exceptions
- ArgumentException
Thrown when a coordinate is not a finite number.