PdfBox Structure

Represents a rectangle expressed in PDF's default user space coordinate system. In default user space the positive X axis extends horizontally to the right and the positive Y axis extends vertically upward.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[SerializableAttribute]
public struct PdfBox : IEquatable<PdfBox>
VB
<SerializableAttribute>
Public Structure PdfBox
	Implements IEquatable(Of PdfBox)

The PdfBox type exposes the following members.

Constructors

  NameDescription
Public methodPdfBox
Initializes a new instance of the PdfBox struct.

Properties

  NameDescription
Public propertyBottom
Gets the y-coordinate of the bottom edge of this PdfBox structure.
Public propertyHeight
Gets the height of this PdfBox structure.
Public propertyIsEmpty
Tests whether the Width or Height property of this PdfBox has a value of zero.
Public propertyLeft
Gets the x-coordinate of the left edge of this PdfBox structure.
Public propertyLocation
Gets the coordinates of the lower-left corner of this PdfBox structure.
Public propertyRight
Gets the x-coordinate of the right edge of this PdfBox structure.
Public propertySize
Gets the size of this PdfBox.
Public propertyTop
Gets the y-coordinate of the top edge of this PdfBox structure.
Public propertyWidth
Gets the width of this PdfBox structure.

Methods

  NameDescription
Public methodEquals(Object)
Tests whether obj is a PdfBox with the same properties.
(Overrides ValueType.Equals(Object).)
Public methodEquals(PdfBox)
Tests whether this and the other boxes have same properties.
Public methodStatic memberFromRectangle
Maps PdfRectangle structure expressed in PdfPage coordinate system to PDF's default user space.
Public methodGetHashCode
Gets the hash code for this PdfBox structure.
(Overrides ValueType.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodToRectangle
Maps this PdfBox structure to PdfPage coordinate system.
Public methodToString()
Converts this PdfBox to a human-readable string.
(Overrides ValueType.ToString().)
Public methodToString(IFormatProvider)
Converts this PdfBox to a human-readable string.

Operators

  NameDescription
Public operatorStatic memberEquality
Tests whether two PdfBox structures are equal.
Public operatorStatic memberInequality
Tests whether two PdfBox structures are different.

Fields

  NameDescription
Public fieldStatic memberEmpty
Represents an instance of the PdfBox struct with its members uninitialized.

Extension Methods

  NameDescription
Public Extension MethodToRectangleF
Maps this PdfBox structure to PdfPage coordinate system.
(Defined by PdfBoxGdiExtensions.)

See Also