• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PointDoubleUnit

Represents a two-dimensional point together with its measurement unit.

Inheritance
object
PointDoubleUnit
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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 unit.

double y

The vertical coordinate in unit.

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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX