VARIANT_BOOL Aborted { get; } |
{ PDF object is supposed to be created } PDF.StartEngine('demo', 'demo'); PDF.FileName := 'empty.pdf'; PDF.BeginDoc; PDF.Abort; If PDF.Aborted then; { Doing something after aborting }
// PDF object is supposed to be created PDF->StartEngine("demo", "demo"); PDF->FileName = "empty.pdf"; PDF->AutoLaunch = TRUE; PDF->BeginDoc(); PDF->Abort(); if (PDF->Aborted) { //Doing something after aborting }
// PDF object is supposed to be created PDF.StartEngine("demo", "demo"); PDF.FileName = "empty.pdf"; PDF.AutoLaunch = true; PDF.BeginDoc(); PDF.Abort(); if (PDF.Aborted) { //Doing something after aborting }
' PDF object is supposed to be created PDF.StartEngine "demo@demo", "demo" PDF.AutoLaunch = True PDF.FileName = "empty.pdf" PDF.BeginDoc PDF.Abort If PDF.Aborted 'Doing something after aborting End If