CancelFormXObject
Page layout
Description
Cancels the active Form XObject build, removes the temporary drawing surface, and restores the caller page selected before BeginFormXObject
Syntax
Delphi
Function TPDFlib.CancelFormXObject: Integer;
ActiveX
Function PDFlib::CancelFormXObject() As Long
DLL
int DLCancelFormXObject(int InstanceID);
Return values
| 0 | No Form XObject build was active or the temporary drawing surface could not be removed |
|---|---|
| 1 | The active build was canceled and the temporary drawing surface was removed |
Remarks
CancelFormXObject does not create a captured-page handle. Use EndFormXObject when the drawn content should become a reusable Form XObject