LONG OnOpenDocument { get; set; } |
{ PDF object is supposed to be created } a := PDF.CreateJavascriptAction('app.alert("Document is opened.")'); PDF.OnOpenDocument = a; PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created long a = PDF->CreateJavascriptAction("app.alert('Document is opened.')"); PDF->OnOpenDocument = a; PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created long a = PDF.CreateJavascriptAction("app.alert('Document is opened.')"); PDF.OnOpenDocument = a; PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created a = PDF.CreateJavascriptAction("app.alert('Document is opened.')") PDF.OnOpenDocument = a PDF.SaveToFile "test.pdf", true