FPDFAnnot_SetAP method
Experimental API. Set the AP (appearance string) in |annot|'s dictionary for a given |appearanceMode|.
annot - handle to an annotation. appearanceMode - the appearance mode (normal, rollover or down) for which to get the AP. value - the string value to be set, encoded in UTF-16LE. If nullptr is passed, the AP is cleared for that mode. If the mode is Normal, APs for all modes are cleared.
Returns true if successful.
Implementation
int FPDFAnnot_SetAP(
FPDF_ANNOTATION annot,
int appearanceMode,
FPDF_WIDESTRING value,
) {
return _FPDFAnnot_SetAP(annot, appearanceMode, value);
}