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
| FlowID | A text flow identifier returned by NewTextFlow |
|---|
Return values
| 1 | All obstacle rectangles on the text flow were cleared |
|---|---|
| 0 | The 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