Skip to contents

Wraps FPDF_CloseXObject. Idempotent. Closing the XObject does NOT invalidate page-objects created from it via pdf_obj_form_from_xobject() — those are owned by their parent page and survive the XObject's release. pdf_doc_close() on the destination document closes its XObjects as well.

Usage

pdf_xobject_close(xobject)

Arguments

xobject

A pdfium_xobject from pdf_xobject_from_page().

Value

Invisibly returns xobject.