Table of Contents

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

useXAxis bool

Whether it measures along x; along y where false.

definingPoint GeoPoint3

The point measured, in world coordinates.

leaderEndPoint GeoPoint3

Where its leader ends.

dimText string

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

dimStyle DxfDimStyleTableRecord

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

Exceptions

ArgumentException

Thrown when a coordinate is not a finite number.