Create an XObject (reusable form) from a source-doc page
Source:R/api_completion.R
pdf_xobject_from_page.RdWraps FPDF_NewXObjectFromPage. Copies the visual content of
src_doc's page src_page_num into dest_doc as an
FPDF_XOBJECT. The XObject can then be instantiated multiple
times in dest_doc via pdf_obj_form_from_xobject() — useful
for "n-up" layouts where the same page content needs to be tiled.
See also
pdf_obj_form_from_xobject() to instantiate as a page
object; pdf_xobject_close() for deterministic release.