Click or drag to resize
Pdftools logo

Point Structure

Struct that represents a point that is based on a X-coordinate and a Y-coordinate of type Length.

Creates a Point object by parsing a string representation and creates a string representation of a Point object.

Inheritance Hierarchy
SystemObject
  SystemValueType
    PdfTools.Geometry.UnitsPoint

Namespace: PdfTools.Geometry.Units
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public struct Point

The Point type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberOrigin The point representing the origin (lower-left corner) of the coordinate system.
Public propertyX

Get the horizontal coordinate as Length object.

The horizontal axis is oriented from left to right.

Public propertyY

Get the vertical coordinate as Length object.

The vertical axis is oriented from bottom to top.

Top
Methods
 NameDescription
Public methodStatic membercm Create a Point object with the unit of x and y centimetre (symbol cm, equal to 0.01m).
Public methodEquals
(Overrides ValueTypeEquals(Object))
Public methodStatic memberFromLengths Create a Point object with the x and y as Length objects.
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodStatic memberin Create a Point object with the unit of x and y inch (symbol in, equal to 25.4mm or 72pt).
Public methodStatic memberkm Create a Point object with the unit of x and y kilometre (symbol km, equal to 1000m).
Public methodStatic memberm Create a Point object with the unit of x and y metre (symbol m, is the SI unit of length).
Public methodStatic membermm Create a Point object with the unit of x and y millimetre (symbol mm, equal to 0.001m).
Public methodStatic memberParse Create a Point object from the string representation of a x-y-coordinate pair.
Public methodStatic memberpt Create a Point object with the unit of x and y point (symbol pt, is the default unit used in PDF documents, equal to 1/72in or 25.4/72mm).
Public methodToString Creates a string representation as x-y-pair with associated suitable metric units, "m", "cm" or "mm".
(Overrides ValueTypeToString)
Public methodStatic memberum Create a Point object with the unit of x and y micrometre (symbol um, equal to 0.000001m).
Top
See Also