FPDFAnnot_AddFileAttachment function
- @Native<FPDF_ATTACHMENT Function(FPDF_ANNOTATION annot, FPDF_WIDESTRING name)>(FPDF_ANNOTATION, FPDF_WIDESTRING)>()
- FPDF_ANNOTATION annot,
- FPDF_WIDESTRING name
Experimental API. Add an embedded file with |name| to |annot|.
annot - handle to a file annotation. name - name of the new attachment.
Returns a handle to the new attachment object, or NULL on failure.
Implementation
@ffi.Native<FPDF_ATTACHMENT Function(FPDF_ANNOTATION, FPDF_WIDESTRING)>()
external FPDF_ATTACHMENT FPDFAnnot_AddFileAttachment(
FPDF_ANNOTATION annot,
FPDF_WIDESTRING name,
);