ClearTextFlowObstacles

Text and typography

Description

Removes all rectangular obstacles previously registered on a text flow with AddTextFlowObstacle

Syntax

Delphi

Function TPDFlib.ClearTextFlowObstacles(FlowID: Integer): Integer;

Parameters

FlowIDA text flow identifier returned by NewTextFlow

Return values

1All obstacle rectangles on the text flow were cleared
0The FlowID was invalid

Remarks

Call this method before pouring remaining text onto a new page whose layout does not contain the obstacle regions of the previous page

See also

NewTextFlow, AddTextFlowObstacle, DrawTextFlow, DrawTextFlowColumns