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

See Also

SetPageObjectMarkParam, RemovePageObjectMark, PageObjectMarks, UpdatePage