PDFium Delphi Component Docs

SharePageObjectMark method

Component: TPdf  ·  Unit: PDFium
Shares one page object's native marked-content property dictionary with another

Syntax

function SharePageObjectMark(TargetIndex, SourceIndex, SourceMarkIndex: Integer): Boolean;

Description

SharePageObjectMark makes the page object at TargetIndex reuse the native property dictionary of mark SourceMarkIndex on the object at SourceIndex, rather than duplicating its parameters

It returns True when the native sharing call succeeded

Remarks

Example

if Pdf1.SharePageObjectMark(Target, Source, 0) then
  Pdf1.UpdatePage;

Saved paragraph metadata

Since internal v3.403.0, direct logical text, object membership and ActualText changes clear the affected saved paragraph cluster tables Geometry, style and metadata-only changes retain the tables and regenerate complete represented shared mark scopes across adjacent nonempty streams Mark list membership is local to the selected object, whilst 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 the 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

AddPageObjectMark, PageObjectMarks, SetPageObjectMarkParam, RemovePageObjectMarkParam