FPDFPage_Flatten function
Flatten annotations and form fields into the page contents.
page - handle to the page. nFlag - One of the |FLAT_*| values denoting the page usage.
Returns one of the |FLATTEN_*| values.
Currently, all failures return |FLATTEN_FAIL| with no indication of the cause.
Implementation
@ffi.Native<ffi.Int Function(FPDF_PAGE, ffi.Int)>()
external int FPDFPage_Flatten(FPDF_PAGE page, int nFlag);