[]
Represents a PDF Form XObject.
new FormXObject(doc, bounds): FormXObject;
Initializes a new instance of the FormXObject class.
The PdfDocument in which the new FormXObject will be used.
The bounds of the FormXObject.
FormXObject
ObjectBase.constructor
new FormXObject(doc, page): FormXObject;
Initializes a new instance of the FormXObject class using a specified page as the source.
Note that the FormXObject.matrix and FormXObject.bounds properties are automatically adjusted to take into account the PdfPage user unit of the source page.
The target PdfDocument where the new FormXObject will be used.
The source PdfPage the content of which is copied to the FormXObject. The source page can belong to another document.
FormXObject
ObjectBase.constructor
new FormXObject(
om,
doc,
bounds): FormXObject;
Initializes a new instance of the FormXObject class.
An object manager that controls the lifetime of the FormXObject object.
The PdfDocument in which the new FormXObject will be used.
The bounds of the FormXObject.
FormXObject
ObjectBase.constructor
new FormXObject(
om,
doc,
page): FormXObject;
Initializes a new instance of the FormXObject class using a specified page as the source.
Note that the FormXObject.matrix and FormXObject.bounds properties are automatically adjusted to take into account the PdfPage user unit of the source page.
An object manager that controls the lifetime of the FormXObject object.
The target PdfDocument where the new FormXObject will be used.
The source PdfPage the content of which is copied to the FormXObject. The source page can belong to another document.
FormXObject
ObjectBase.constructor
get associatedFiles(): AssociatedFiles;
Gets the list of embedded files associated with this FormXObject.
get bounds(): Rect;
Gets the bounds of this FormXObject.
set bounds(value): void;
Sets the bounds of this FormXObject.
void
get context(): PdfContext;
Gets an instance of PdfContext that can be used to generate content of this FormXObject.
get doc(): PdfDocument;
Gets the PdfDocument owning this object.
get hasAssociatedFiles(): boolean;
Gets a value indicating whether the FormXObject.associatedFiles collection is not empty.
boolean
get id(): number;
Gets the reference to the object.
number
get matrix(): number[];
Gets the matrix that maps form space into user space. The matrix consists of six numbers (m11, m12, m21, m22, m31, m32).
number[]
set matrix(value): void;
Sets the matrix that maps form space into user space. The matrix consists of six numbers (m11, m12, m21, m22, m31, m32).
number[]
void
get om(): ObjectManager;
Gets the owner ObjectManager instance.
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void