PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis property gets the last error that occurred.
|
| BSTR LastError { get; } |
Value
String containing a description of the most recent error
Empty string, if no error occurred
Empty string, if no error occurred
Remarks
Example
Using the LastError Property
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_SetFlat(-2222);
{ Now PDF.LastError contains an error description }
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_SetFlat(-2222); // Now PDF.LastError contains an error description. PDF->EndDoc():
C#
[copy to clipboard]
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_SetFlat(-2222); // Now PDF.LastError contains an error description. PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_SetFlat -2222 ' Now PDF.LastError contains an error description. PDF.EndDoc
See Also


