HRESULT StartEngine ( BSTR userName, BSTR password ) |
The StartEngine method must be called immediately after library initialization.
userName and password are provided by the Two Pilots company when you buy this product.
Equivalent in new interface: IPDFDocument4::SetLicenseData.
{ PDF object is supposed to be created } PDF.StartEngine('demo', 'demo'); PDF.AutoLaunch := false; PDF.FileName := 'Report.pdf'; PDF.Resolution = 96; PDF.BeginDoc; { Here we create our document and fill its contents. } PDF.EndDoc; { Now the file is created on the disk and we can } { copy/move it, send as email attachment or anything else. }
// PDF object is supposed to be created PDF->StartEngine("demo", "demo"); PDF->AutoLaunch = FALSE; PDF->FileName = "Report.pdf"; PDF->Resolution = 96; PDF->BeginDoc(); // Here we create our document and fill its contents. PDF->EndDoc(); // Now the file is created on the disk and we can // copy/move it, send as email attachment or anything else.
// PDF object is supposed to be created PDF.StartEngine("demo", "demo"); PDF.AutoLaunch = false; PDF.FileName = "Report.pdf"; PDF.Resolution = 96; PDF.BeginDoc(); // Here we create our document and fill its contents. PDF.EndDoc(); // Now the file is created on the disk and we can // copy/move it, send as email attachment or anything else.
' PDF object is supposed to be created PDF.StartEngine "demo", "demo" PDF.AutoLaunch = False PDF.FileName = "Report.pdf" PDF.Resolution = 96 PDF.BeginDoc ' Here we create our document and fill its contents. PDF.EndDoc ' Now the file is created on the disk and we can ' copy/move it, send as email attachment or anything else.