PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllClears all internal data and stops the generation of the PDF document.
|
| HRESULT Abort () |
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.
Example
Order of methods for creating a PDF file and aborting without file generation
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.StartEngine('demo', 'demo');
PDF.FileName := 'empty.pdf';
PDF.AutoLaunch := true;
PDF.BeginDoc;
PDF.Abort;
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->StartEngine('demo', 'demo');
PDF->FileName = 'empty.pdf';
PDF->AutoLaunch = TRUE;
PDF->BeginDoc();
PDF->Abort();
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.StartEngine('demo', 'demo');
PDF.FileName = 'empty.pdf';
PDF.AutoLaunch = true;
PDF.BeginDoc();
PDF.Abort();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.StartEngine "demo", "demo" PDF.AutoLaunch = True PDF.FileName = "empty.pdf" PDF.BeginDoc PDF.Abort
See Also
Reference


