Constructor DxfDiametricDimension
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfDiametricDimension()
Initializes a diameter dimension of the origin, as AutoCAD's new DiametricDimension(), in the style Standard.
public DxfDiametricDimension()
DxfDiametricDimension(GeoPoint3, GeoPoint3, double, string, DxfDimStyleTableRecord)
Initializes a diameter dimension, as AutoCAD's new DiametricDimension(chordPoint, farChordPoint, leaderLength,
dimensionText, dimensionStyle), in no file until it is added to one; it needs its
DimBlock before it is.
public DxfDiametricDimension(GeoPoint3 chordPoint, GeoPoint3 farChordPoint, double leaderLength, string dimensionText, DxfDimStyleTableRecord dimensionStyle)
Parameters
chordPointGeoPoint3The point of the circle the leader starts at, in world coordinates.
farChordPointGeoPoint3The point opposite it.
leaderLengthdoubleThe length of the leader to the text.
dimensionTextstringThe text, as DimensionText; empty or null for the measurement.
dimensionStyleDxfDimStyleTableRecordThe style it is drawn in, by its name; null for Standard.
Exceptions
- ArgumentOutOfRangeException
Thrown when the length is not a finite number.
- ArgumentException
Thrown when a coordinate is not a finite number.