VARIANT_BOOL UseLogging { get; set; } |
All actions and errors are saved to a log file that is located here:
"%UserAppData%\Two Pilots\PDF Library\Log.txt"
Where %UserAppData% is the file system directory that serves as a common repository for application-specific data. A typical path is
A typical path for Windows XP:
"C:\Documents and Settings\username\Application Data"
A typical path for Windows Vista:
"C:\Users\username\AppData\Roaming"
{ PDF object is supposed to be created } PDF.SetLicenseData('demo', 'demo'); PDF.UseLogging := true; // Here we create our document and fill its contents. PDF.ShowText('Hello, World!'); PDF.SaveToFile('test.pdf', false);
// PDF object is supposed to be created PDF->SetLicenseData("demo", "demo"); PDF->UseLogging = true; // Here we create our document and fill its contents. PDF->ShowText("Hello, World!"); PDF->SaveToFile("test.pdf", false);
// PDF object is supposed to be created PDF.SetLicenseData("demo", "demo"); PDF.UseLogging = true; // Here we create our document and fill its contents. PDF.ShowText("Hello, World!"); PDF.SaveToFile("test.pdf", false);
' PDF object is supposed to be created PDF.SetLicenseData "demo", "demo" PDF.UseLogging = True ' Here we create our document and fill its contents. PDF.ShowText "Hello, World!" PDF.SaveToFile "test.pdf", false