OLE_HANDLE GetDC () |
{ PDF object is supposed to be created } PDF.SetLicenseData('demo', 'demo'); PDF.UseScreenBasedDC := true; { use standard GDI drawing functions: } Rectangle(PDF.GetDC(), 10, 10, 20, 20); PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created PDF->SetLicenseData("demo", "demo"); PDF->UseScreenBasedDC = true; // use standard GDI drawing functions: Rectangle(PDF->GetDC(), 10, 10, 20, 20); PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created PDF.SetLicenseData("demo", "demo"); PDF.UseScreenBasedDC = true; // use standard GDI drawing functions: Rectangle(PDF.GetDC(), 10, 10, 20, 20); PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created PDF.SetLicenseData "demo", "demo" PDF.UseScreenBasedDC = True // use standard GDI drawing functions: Rectangle PDF.GetDC, 10, 10, 20, 20 PDF.SaveToFile "test.pdf", true