procedure SetPageObjectMarkParam(Index, MarkIndex: Integer; const Param: TPdfContentMarkParam);
Adds or replaces one property on an existing marked-content entry through its native PDFium mark handle
The operation preserves the mark name, mark order, native handle, and every unrelated property
Index and MarkIndex are zero based and refer to the current page
Set Param.Key and select pmpInt, pmpFloat, pmpString, or pmpBlob in Param.Kind
Only the matching value field (IntValue, FloatValue, StringValue, or BlobValue) is read
Keys are PDF names and must be non-empty byte-compatible strings, while blob values must contain at least one byte
A key already present is replaced even when its value kind changes
procedure RemovePageObjectMarkParam(Index, MarkIndex: Integer; const Key: WString);
Removes only the named property and preserves the marked-content entry
A missing key raises EPdfError because no mutation occurred
AddPageObjectMark creates a new mark with an initial typed property array and returns its index
RemovePageObjectMark removes the complete marked-content entry
A failed initial parameter validation rolls back the newly created mark
Each successful mutation invalidates the text-page cache and regenerates current page content once so subsequent saves contain the updated BDC property list
PageObjectMarks can be read immediately to obtain a fresh snapshot
Non-integral PDF number values are returned as pmpFloat
Since internal v3.403.0, direct logical text, object membership and ActualText changes clear affected saved paragraph cluster tables Geometry, style and metadata-only changes retain tables and regenerate complete represented shared mark scopes across adjacent nonempty streams Mark list membership is local to the selected object, while exact shared declarations keep their identity The bundled DLLs isolate named-property parameter edits; native builds without detachment reject a table-affecting logical change before mutation
Read native character maps again after mutation or reload These low-level operations do not supply reviewed replacement semantics or repair arbitrary tagged ownership Use the batch semantic-edit policies when those values and bindings must be reviewed together See scope, ownership and remaining source-preservation limits