Class PointDoubleUnit
Represents a two-dimensional point together with its measurement unit.
Inherited Members
Namespace: DRIT.Document.Office
Assembly: DRIT.Document.dll
Syntax
public class PointDoubleUnit
Constructors
PointDoubleUnit(double, double, MeasurementUnit)
Initializes a point with the specified coordinates and unit.
Declaration
public PointDoubleUnit(double x, double y, MeasurementUnit unit)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | The horizontal coordinate in |
| double | y | The vertical coordinate in |
| MeasurementUnit | unit | The unit shared by both coordinates. |
Properties
Unit
Gets or sets the unit applied to both coordinates.
Declaration
public MeasurementUnit Unit { get; set; }
Property Value
| Type | Description |
|---|---|
| MeasurementUnit |
X
Gets or sets the horizontal coordinate in Unit.
Declaration
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Y
Gets or sets the vertical coordinate in Unit.
Declaration
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| double |