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.

Usage

pdf_xobject_close(xobject)

Arguments

xobject

A pdfium_xobject from pdf_xobject_from_page().

Value

Invisibly returns xobject.