Table of Contents

Struct PdfBox

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

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.

public struct PdfBox : IEquatable<PdfBox>
Implements
Inherited Members

Constructors

PdfBox(double, double, double, double)

Initializes a new instance of the PdfBox struct.

Fields

Empty

Represents an instance of the PdfBox struct with its members uninitialized.

Properties

Bottom

Gets the y-coordinate of the bottom edge of this PdfBox structure.

Height

Gets the height of this PdfBox structure.

IsEmpty

Tests whether the Width or Height property of this PdfBox has a value of zero.

Left

Gets the x-coordinate of the left edge of this PdfBox structure.

Location

Gets the coordinates of the lower-left corner of this PdfBox structure.

Right

Gets the x-coordinate of the right edge of this PdfBox structure.

Size

Gets the size of this PdfBox.

Top

Gets the y-coordinate of the top edge of this PdfBox structure.

Width

Gets the width of this PdfBox structure.

Methods

Equals(PdfBox)

Tests whether this and the other boxes have same properties.

Equals(object)

Tests whether obj is a PdfBox with the same properties.

FromRectangle(PdfRectangle, double)

Maps PdfRectangle structure expressed in PdfPage coordinate system to PDF's default user space.

GetHashCode()

Gets the hash code for this PdfBox structure.

ToRectangle(double)

Maps this PdfBox structure to PdfPage coordinate system.

ToString()

Converts this PdfBox to a human-readable string.

ToString(IFormatProvider)

Converts this PdfBox to a human-readable string.

Operators

operator ==(PdfBox, PdfBox)

Tests whether two PdfBox structures are equal.

operator !=(PdfBox, PdfBox)

Tests whether two PdfBox structures are different.