[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Graphics.FormXObject.-ctor

FormXObject Constructor

FormXObject(GcPdfDocument, RectangleF)

Initializes a new instance of the FormXObject class.

Declaration
public FormXObject(GcPdfDocument doc, RectangleF bounds)
Public Sub New(doc As GcPdfDocument, bounds As RectangleF)
Parameters
Type Name Description
GcPdfDocument doc

The GcPdfDocument in which the new FormXObject will be used.

RectangleF bounds

The bounds of the FormXObject.

FormXObject(GcPdfDocument, Page)

Initializes a new instance of the FormXObject class using a specified page as the source.

Note that Matrix and Bounds properties are automatically adjusted to take into account the UserUnit property of the source page.

Declaration
public FormXObject(GcPdfDocument doc, Page page)
Public Sub New(doc As GcPdfDocument, page As Page)
Parameters
Type Name Description
GcPdfDocument doc

The target GcPdfDocument where the new FormXObject will be used.

Page page

The source Page the content of which is copied to the FormXObject. The source page can belong to another document.