Struct PdfLayoutRect
Axis-aligned rectangle in the normalized Word page coordinate system.
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
Properties
Bottom
Identifies a content band at the bottom of the page.
Declaration
public double Bottom { get; }
Property Value
Height
Gets the height of the represented page or bounds in points.
Declaration
public double Height { get; }
Property Value
Left
Gets the left edge of the represented bounds in points.
Declaration
public double Left { get; }
Property Value
Right
Gets the right edge of the represented bounds in points.
Declaration
public double Right { get; }
Property Value
Top
Identifies a content band at the top of the page.
Declaration
public double Top { get; }
Property Value
Width
Gets the width of the represented page or bounds in points.
Declaration
public double Width { get; }
Property Value
Methods
Equals(PdfLayoutRect)
Compares this value with another value using coordinate equality.
Declaration
public bool Equals(PdfLayoutRect other)
Parameters
Returns
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
Overrides
GetHashCode()
Returns a hash code derived from the value coordinates.
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(PdfLayoutRect, PdfLayoutRect)
Compares two layout values for equality.
Declaration
public static bool operator ==(PdfLayoutRect left, PdfLayoutRect right)
Parameters
Returns
operator !=(PdfLayoutRect, PdfLayoutRect)
Compares two layout values for inequality.
Declaration
public static bool operator !=(PdfLayoutRect left, PdfLayoutRect right)
Parameters
Returns
Implements