FPDFPage_Flatten method
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
int FPDFPage_Flatten(FPDF_PAGE page, int nFlag) {
return _FPDFPage_Flatten(page, nFlag);
}