Instantiate an XObject as a form page-object on a page
Source:R/api_completion.R
pdf_obj_form_from_xobject.RdWraps FPDF_NewFormObjectFromXObject + FPDFPage_InsertObject.
Creates a fresh form-xobject page-object referencing the shared
XObject content and inserts it on page. The page-object can
then be transformed / placed via the usual
pdf_obj_set_matrix() setter.
Arguments
- page
A
pdfium_pagefrompdf_page_new()orpdf_page_load()(parent doc must be readwrite).- xobject
A
pdfium_xobjectfrompdf_xobject_from_page(). The XObject must have been created against the samedest_docthat ownspage.