Skip to contents

Fast-path single-integer accessor that wraps FPDFPageObj_GetMarkedContentID. Equivalent to taking pdf_obj_marks() and pulling out the first integer MCID parameter, but avoids the tibble materialisation when the caller only needs the ID.

Usage

pdf_obj_marked_content_id(obj)

Arguments

obj

A pdfium_obj from pdf_page_objects().

Value

Integer scalar — the 0-based marked-content ID, or NA_integer_ when the object has no direct MCID.