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

Struct PdfLayoutPoint

Point in the normalized Word page coordinate system (points, origin at the top-left).

Implements
IEquatable<PdfLayoutPoint>
Inherited Members
ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public readonly struct PdfLayoutPoint : IEquatable<PdfLayoutPoint>

Constructors

PdfLayoutPoint(double, double)

Initializes a new PdfLayoutPoint from normalized PDF extraction data.

Declaration
public PdfLayoutPoint(double x, double y)
Parameters
Type Name Description
double x
double y

Properties

X

Gets the horizontal coordinate in normalized page-space points.

Declaration
public double X { get; }
Property Value
Type Description
double

Y

Gets the vertical coordinate in normalized page-space points.

Declaration
public double Y { get; }
Property Value
Type Description
double

Methods

Equals(PdfLayoutPoint)

Compares this value with another value using coordinate equality.

Declaration
public bool Equals(PdfLayoutPoint other)
Parameters
Type Name Description
PdfLayoutPoint other
Returns
Type Description
bool

Equals(object)

Compares this value with another value using coordinate equality.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)

GetHashCode()

Returns a hash code derived from the value coordinates.

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()

Operators

operator ==(PdfLayoutPoint, PdfLayoutPoint)

Compares two layout values for equality.

Declaration
public static bool operator ==(PdfLayoutPoint left, PdfLayoutPoint right)
Parameters
Type Name Description
PdfLayoutPoint left
PdfLayoutPoint right
Returns
Type Description
bool

operator !=(PdfLayoutPoint, PdfLayoutPoint)

Compares two layout values for inequality.

Declaration
public static bool operator !=(PdfLayoutPoint left, PdfLayoutPoint right)
Parameters
Type Name Description
PdfLayoutPoint left
PdfLayoutPoint right
Returns
Type Description
bool

Implements

IEquatable<T>
Back to top

DR-IT Software documentation

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

Generated by DocFX