Table of Contents

Class PdfXObject

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

Class for a PDF form XObject.

public sealed class PdfXObject
Inheritance
PdfXObject
Inherited Members

Remarks

Any graphical element that is to be used repeatedly, such as a company logo, a watermark or a background can be defined as a form XObject.

A form XObject can serve as the template for an entire page.

The Impose PDF section shows how to use XObjects to combine multiple PDF pages on a single page.

The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.

Properties

BoundingBox

Gets or sets the media box of the form XObject.

Canvas

Gets the canvas of this XObject.

DrawOnBackground

Gets or sets a value indicating whether this XObject should be drawn before any other contents of a page.

Group

Gets or sets the transparency group parameters of this XObject.

Height

Gets or sets the height of the XObject in pixels.

Id

Gets the identifier of this XObject in this PdfDocument.

Layer

Gets or sets the layer to which this XObject belongs.

Matrix

Gets or sets the form matrix.

Orientation

Gets or sets the PdfPaperOrientation value specifying the orientation of the XObject.

Size

Gets or sets the PdfPaperSize value specifying the size of the XObject.

Width

Gets or sets the width of the XObject in pixels.

Methods

Equals(object?)

Determines whether the specified object is equal to the current PdfXObject object.

GetHashCode()

Serves as a hash function for a PdfXObject instance.

GetObjects()

Retrieves collection of all objects drawn on this XObject.

GetObjects(PdfObjectExtractionOptions)

Retrieves collection of all objects drawn on this XObject.

ToString()

Returns a string that represents this PdfXObject instance.

Operators

operator ==(PdfXObject, PdfXObject)

Determines whether the two specified objects are equal to each other.

operator !=(PdfXObject, PdfXObject)

Determines whether the two specified objects are not equal to each other.