[]
Initializes a new instance of the FormXObject class.
public FormXObject(GcPdfDocument doc, RectangleF bounds)
Public Sub New(doc As GcPdfDocument, bounds As RectangleF)
Type | Name | Description |
---|---|---|
GcPdfDocument | doc | The GcPdfDocument in which the new FormXObject will be used. |
RectangleF | bounds | The bounds of the FormXObject. |
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.
public FormXObject(GcPdfDocument doc, Page page)
Public Sub New(doc As GcPdfDocument, page As Page)
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. |