PDFium Delphi Component Docs

RemovePageObjectMarkParam method

Component: TPdf  ·  Unit: PDFium
Delete one property from the property list of a marked-content tag

Syntax

procedure RemovePageObjectMarkParam(Index, MarkIndex: Integer; const Key: WString);

IndexInteger. Zero-based index of the page object
MarkIndexInteger. Zero-based index of the mark within that object
KeyWString. Name of the property to remove. Keys are PDF names, so the round trip is lossless over the ASCII range

Description

Narrower than RemovePageObjectMark: the mark and its remaining properties stay in place, only the named entry goes

Removing a key that is not present leaves the mark unchanged

Call UpdatePage before saving so the edited property list reaches the file

Saved paragraph metadata

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

See Also

SetPageObjectMarkParam, RemovePageObjectMark, PageObjectMarks, UpdatePage