FPDFAnnot_SetURI function

  1. @Native<FPDF_BOOL Function(FPDF_ANNOTATION, FPDF_BYTESTRING)>(FPDF_ANNOTATION, ffi.Pointer<ffi.Char>)>()
int FPDFAnnot_SetURI(
  1. FPDF_ANNOTATION annot,
  2. Pointer<Char> uri
)

Experimental API. Add a URI action to |annot|, overwriting the existing action, if any.

annot - handle to a link annotation. uri - the URI to be set, encoded in 7-bit ASCII.

Returns true if successful.

Implementation

@ffi.Native<FPDF_BOOL Function(FPDF_ANNOTATION, ffi.Pointer<ffi.Char>)>()
external int FPDFAnnot_SetURI(FPDF_ANNOTATION annot, ffi.Pointer<ffi.Char> uri);