CancelTilingPattern

Vector graphics, Page layout

Description

Cancels an active direct tiling-pattern build, removes the temporary drawing page, restores the caller page, and does not register the pattern name

Syntax

Delphi

Function TPDFlib.CancelTilingPattern: Integer;

ActiveX

Function PDFlib::CancelTilingPattern() As Long

DLL

int DLCancelTilingPattern(int InstanceID);

Return values

0No tiling-pattern build was active or the temporary page could not be removed
1The active build was canceled successfully

Remarks

Use this function when a pattern build cannot be completed and the temporary drawing surface must be discarded cleanly

See also

BeginTilingPattern, EndTilingPattern, SetFillTilingPattern