FPDFPageObjMark_SetIntParam function

  1. @Native<FPDF_BOOL Function(FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, Int)>(FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, ffi.Int)>()
int FPDFPageObjMark_SetIntParam(
  1. FPDF_DOCUMENT document,
  2. FPDF_PAGEOBJECT page_object,
  3. FPDF_PAGEOBJECTMARK mark,
  4. FPDF_BYTESTRING key,
  5. int value,
)

Experimental API. Set the value of an int property in a content mark by key. If a parameter with key |key| exists, its value is set to |value|. Otherwise, it is added as a new parameter.

document - handle to the document. page_object - handle to the page object with the mark. mark - handle to a content mark. key - string key of the property. value - int value to set.

Returns TRUE if the operation succeeded, FALSE otherwise.

Implementation

@ffi.Native<
  FPDF_BOOL Function(
    FPDF_DOCUMENT,
    FPDF_PAGEOBJECT,
    FPDF_PAGEOBJECTMARK,
    FPDF_BYTESTRING,
    ffi.Int,
  )
>()
external int FPDFPageObjMark_SetIntParam(
  FPDF_DOCUMENT document,
  FPDF_PAGEOBJECT page_object,
  FPDF_PAGEOBJECTMARK mark,
  FPDF_BYTESTRING key,
  int value,
);