Skip to contents

Wraps FPDFPageObj_RemoveMark. mark_index is 1-based and matches the row order pdf_obj_marks() returns; removing a mark shifts every subsequent mark's index down by one.

Usage

pdf_obj_remove_mark(obj, mark_index)

Arguments

obj

A pdfium_obj from pdf_page_objects(). Parent doc must be readwrite.

mark_index

One-based index of the mark to remove.

Value

Invisibly returns the parent pdfium_doc.