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

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

Syntax

C#
public PdfXObject CreateXObject(
	PdfPage page
)
VB
Public Function CreateXObject ( 
	page As PdfPage
) As PdfXObject

Parameters

page
Type: BitMiracle.Docotic.Pdf.PdfPage
The page to use as a template.

Return Value

Type: PdfXObject
The newly created PdfXObject.

Remarks

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

See Also