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

Struct PdfLayoutRect

Axis-aligned rectangle in the normalized Word page coordinate system.

Implements
IEquatable<PdfLayoutRect>
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 PdfLayoutRect : IEquatable<PdfLayoutRect>

Constructors

PdfLayoutRect(double, double, double, double)

Initializes a new PdfLayoutRect from normalized PDF extraction data.

Declaration
public PdfLayoutRect(double left, double top, double width, double height)
Parameters
Type Name Description
double left
double top
double width
double height

Properties

Bottom

Identifies a content band at the bottom of the page.

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

Height

Gets the height of the represented page or bounds in points.

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

Left

Gets the left edge of the represented bounds in points.

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

Right

Gets the right edge of the represented bounds in points.

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

Top

Identifies a content band at the top of the page.

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

Width

Gets the width of the represented page or bounds in points.

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

Methods

Equals(PdfLayoutRect)

Compares this value with another value using coordinate equality.

Declaration
public bool Equals(PdfLayoutRect other)
Parameters
Type Name Description
PdfLayoutRect 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 ==(PdfLayoutRect, PdfLayoutRect)

Compares two layout values for equality.

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

operator !=(PdfLayoutRect, PdfLayoutRect)

Compares two layout values for inequality.

Declaration
public static bool operator !=(PdfLayoutRect left, PdfLayoutRect right)
Parameters
Type Name Description
PdfLayoutRect left
PdfLayoutRect 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