Skip to contents

Returns the annotation's subtype as a short name ("text", "link", "freetext", …). Wraps FPDFAnnot_GetSubtype.

Usage

pdf_annot_subtype(annot)

Arguments

annot

A pdfium_annot handle from pdf_annotations().

Value

Character scalar; one of the 29 PDFium annotation subtype names, or "unknown".