Skip to main content

PdfRect Struct

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

A rectangle in PDF user space. Coordinates are in points (1/72 inch) with the origin at the page's bottom-left corner; Y increases upward (PDF convention, not screen convention).

public struct PdfRect

Inheritance: ValueType -> PdfRect

Implements: IEquatable<PdfRect>

Constructors

NameDescription
PdfRectA rectangle in PDF user space. Coordinates are in points (1/72 inch) with the origin at the page's bottom-left corner; Y increases upward (PDF convention, not screen convention).

PdfRect Constructor

A rectangle in PDF user space. Coordinates are in points (1/72 inch) with the origin at the page's bottom-left corner; Y increases upward (PDF convention, not screen convention).

public PdfRect(double Left, double Bottom, double Right, double Top)

Parameters

Left double

Bottom double

Right double

Top double

Methods

NameDescription
DeconstructNo summary available.
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Deconstruct Method

public void Deconstruct(double& Left, double& Bottom, double& Right, double& Top)

Parameters

Left double&

Bottom double&

Right double&

Top double&

Equals overloads

Equals Method

public bool Equals(Avalonia.Controls.Pdf.Core.PdfRect other)
Parameters

other Avalonia.Controls.Pdf.Core.PdfRect

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

ToString Method

public string ToString()

Returns

string

Properties

NameDescription
BottomNo summary available.
HeightThe rectangle height (Avalonia.Controls.Pdf.Core.PdfRect.TopAvalonia.Controls.Pdf.Core.PdfRect.Bottom).
LeftNo summary available.
RightNo summary available.
TopNo summary available.
WidthThe rectangle width (Avalonia.Controls.Pdf.Core.PdfRect.RightAvalonia.Controls.Pdf.Core.PdfRect.Left).

Bottom Property

public double Bottom { get; set; }

Height Property

The rectangle height (Avalonia.Controls.Pdf.Core.PdfRect.TopAvalonia.Controls.Pdf.Core.PdfRect.Bottom).

public double Height { get; set; }

Left Property

public double Left { get; set; }

Right Property

public double Right { get; set; }

Top Property

public double Top { get; set; }

Width Property

The rectangle width (Avalonia.Controls.Pdf.Core.PdfRect.RightAvalonia.Controls.Pdf.Core.PdfRect.Left).

public double Width { get; set; }