FPDFPageObjMark_SetStringParam method

int FPDFPageObjMark_SetStringParam(
  1. FPDF_DOCUMENT document,
  2. FPDF_PAGEOBJECT page_object,
  3. FPDF_PAGEOBJECTMARK mark,
  4. FPDF_BYTESTRING key,
  5. FPDF_BYTESTRING value,
)

Experimental API. Set the value of a string 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 - string value to set.

Returns TRUE if the operation succeeded, FALSE otherwise.

Implementation

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