.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfRectangle Members

A rectangle used to describe locations on a page and bounding boxes for various PDF objects.

Constructors

Name Description
PdfRectangle(Double, Double, Double, Double) Initializes a new instance of the PdfRectangle class with the specified settings.

Properties

Name Description
Bottom Gets the PdfRectangle‘s bottom coordinate.
BottomLeft Gets the PdfRectangle‘s bottom left coordinate.
BottomRight Gets the PdfRectangle‘s bottom right coordinate.
Height Gets the PdfRectangle‘s height.
Left Gets the PdfRectangle‘s left coordinate.
Right Gets the PdfRectangle‘s right coordinate.
Top Gets the PdfRectangle‘s top coordinate.
TopLeft Gets the PdfRectangle‘s top left coordinate.
TopRight Gets the PdfRectangle‘s top right coordinate.
Width Gets the PdfRectangle‘s width.

Methods

Name Description
Contains(PdfPoint) Determines whether a point is inside the current rectangle.
Equals(Object) Determines whether or not the specified object is equal to the current PdfRectangle instance.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also