Constructor DxfOrdinateDimension
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfOrdinateDimension()
Initializes an ordinate dimension along y at the origin, as AutoCAD's new OrdinateDimension(), in the style Standard.
public DxfOrdinateDimension()
DxfOrdinateDimension(bool, GeoPoint3, GeoPoint3, string, DxfDimStyleTableRecord)
Initializes an ordinate dimension, as AutoCAD's new OrdinateDimension(useXAxis, definingPoint, leaderEndPoint,
dimText, dimStyle), from the origin of the world, in no file until it is added to one; it needs its
DimBlock before it is.
public DxfOrdinateDimension(bool useXAxis, GeoPoint3 definingPoint, GeoPoint3 leaderEndPoint, string dimText, DxfDimStyleTableRecord dimStyle)
Parameters
useXAxisboolWhether it measures along x; along y where false.
definingPointGeoPoint3The point measured, in world coordinates.
leaderEndPointGeoPoint3Where its leader ends.
dimTextstringThe text, as DimensionText; empty or null for the measurement.
dimStyleDxfDimStyleTableRecordThe style it is drawn in, by its name; null for Standard.
Exceptions
- ArgumentException
Thrown when a coordinate is not a finite number.