Click or drag to resize

PdfRectangle Class

Represents a rectangle used to describe locations on a page and bounding boxes for a variety of objects.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.PdfPdfRectangle

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.6.18
Syntax
public sealed class PdfRectangle : PdfObject, 
	IEquatable<PdfRectangle>

The PdfRectangle type exposes the following members.

Properties
 NameDescription
Public propertyBottom Gets the bottom Y coordinate of the rectangle.
Public propertyHeight Gets the height of the rectangle.
Public propertyLeft Gets the left X coordinate of the rectangle.
Public propertyMetadata(Optional; PDF 1.4) A metadata stream containing metadata for the component.
(Inherited from PdfObject)
Public propertyRight Gets the right X coordinate of the rectangle.
Public propertyTop Gets the top Y coordinate of the rectangle.
Public propertyWidth Gets the width of the rectangle.
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to this PdfRectangle instance.
(Overrides ObjectEquals(Object))
Public methodEquals(PdfRectangle) Determines whether the other PdfRectangle is equal to this PdfRectangle instance.
Public methodGetHashCode Returns a hash code for this PdfRectangle instance.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Returns a String that represents this PdfRectangle instance.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also