



Collapse AllThis property gets or sets a value indicating whether or not PDF Creator Pilot should log all actions and errors.
Syntax| VARIANT_BOOL LogActionsAndErrors { get; set; } |
RemarksAll actions and errors are saved to log file that can be found in this path:
"%UserAppData%\Two Pilots\PDF Library\Log.txt"
Where %UserAppData% is the file system directory that serves as a common repository for application-specific data.
Typical path for Windows XP:
"C:\Documents and Settings\username\Application Data"
Typical path for Windwos Vista:
"C:\Users\username\AppData\Roaming"
Equivalent in new interface: IPDFDocument4::UseLogging.
Example{ PDF object is supposed to be created }
PDF.StartEngine('demo', 'demo');
PDF.LogActionsAndErrors := true;
PDF.BeginDoc;
{ Here we create our document and fill its contents. }
PDF.EndDoc;
// PDF object is supposed to be created
PDF->StartEngine("demo", "demo");
PDF->LogActionsAndErrors = TRUE;
PDF->BeginDoc();
// Here we create our document and fill its contents.
PDF->EndDoc();
// PDF object is supposed to be created
PDF.StartEngine("demo", "demo");
PDF.LogActionsAndErrors = true;
PDF.BeginDoc();
// Here we create our document and fill its contents.
PDF.EndDoc();
' PDF object is supposed to be created PDF.StartEngine "demo", "demo" PDF.LogActionsAndErrors = True PDF.BeginDoc ' Here we create our document and fill its contents. PDF.EndDoc