FPDFPageObjMark_SetIntParam method

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

int FPDFPageObjMark_SetIntParam(
  FPDF_DOCUMENT document,
  FPDF_PAGEOBJECT page_object,
  FPDF_PAGEOBJECTMARK mark,
  FPDF_BYTESTRING key,
  int value,
) {
  return _FPDFPageObjMark_SetIntParam(
    document,
    page_object,
    mark,
    key,
    value,
  );
}