LowerPath

Content stream editing

Description

Replaces the instruction range a path was lifted from with the path's current, possibly transformed geometry

Syntax

Delphi

Function TPDFContentProgram.LowerPath(Path: TPDFPath): Boolean;

Parameters

PathThe TPDFPath previously returned by LiftPath, holding its current geometry

Return values

True when the instruction range is replaced, otherwise false

Remarks

The method also refreshes the path's instruction range, so the path object keeps pointing at the instructions that now carry its geometry; use WritePageContentLayer to persist the edited program back to the page

See also

LiftPath, TPDFContentProgram, FindInstructionsInRect, WritePageContentLayer, TPDFPath