FPDFPageObj_Destroy function

  1. @Native<Void Function(FPDF_PAGEOBJECT)>(FPDF_PAGEOBJECT)>()
void FPDFPageObj_Destroy(
  1. FPDF_PAGEOBJECT page_object
)

Destroy |page_object| by releasing its resources. |page_object| must have been created by FPDFPageObj_CreateNew{Path|Rect}() or FPDFPageObj_New{Text|Image}Obj(). This function must be called on newly-created objects if they are not added to a page through FPDFPage_InsertObject() or to an annotation through FPDFAnnot_AppendObject().

page_object - handle to a page object.

Implementation

@ffi.Native<ffi.Void Function(FPDF_PAGEOBJECT)>()
external void FPDFPageObj_Destroy(FPDF_PAGEOBJECT page_object);