Table of Contents

Method CreateXObject

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

CreateXObject()

Creates a new XObject that can be used with one of the DrawXObject methods.

public PdfXObject CreateXObject()

Returns

PdfXObject

The newly created PdfXObject.

CreateXObject(PdfPage)

Creates a new XObject using a page as template. The created XObject can be used with one of the DrawXObject methods.

public PdfXObject CreateXObject(PdfPage page)

Parameters

page PdfPage

The page to use as a template.

Returns

PdfXObject

The newly created PdfXObject.

Remarks

A page pointed to by page can belong to any document (not only this one).