FPDFPageObjMark_SetFloatParam method

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

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

Returns TRUE if the operation succeeded, FALSE otherwise.

Implementation

int FPDFPageObjMark_SetFloatParam(
  FPDF_DOCUMENT document,
  FPDF_PAGEOBJECT page_object,
  FPDF_PAGEOBJECTMARK mark,
  FPDF_BYTESTRING key,
  double value,
) {
  return _FPDFPageObjMark_SetFloatParam(
    document,
    page_object,
    mark,
    key,
    value,
  );
}