Error codes in PDF Builder functions
Table below lists the error codes that may be returned by a PDF
Builder function (for example, a function in the PDFAttachment
object).
| Error Code | Description |
|---|---|
| -1 | Common error. |
| -2 | Invalid object. |
| -3 | Invalid document object. |
| -4 | Invalid page object. |
| -5 | Invalid text object. |
| -6 | Invalid multi-line text object. |
| -7 | Invalid rich text object. |
| -8 | Invalid image object. |
| -9 | Invalid font object. |
| -10 | Invalid layer object. |
| -11 | Invalid layer container. |
| -12 | Invalid layer assembly object. |
| -13 | Invalid index. |
| -14 | Invalid argument. |
| -15 | Invalid object to be imported. |
| -16 | Invalid starting index. |
| -17 | Invalid index scope. |
| -18 | Invalid object name. |
| -19 | Invalid file name. |
| -20 | Invalid font name. |
| -21 | Invalid visible object. |
| -22 | Invalid password; the main password and user password cannot be null and cannot be the same. |
| -23 | Invalid document property object. |
| -24 | Invalid handler. |
| -25 | Abnormal operation. |
| -26 | Failed to open the PDF document. |
| -27 | Failed to create the PDF document. |
| -28 | Failed to create the multi-line text. |
| -29 | Failed to load the font. |
| -30 | Failed to load the image. |
| -31 | Failed to locate the object in the page. |
| -32 | Object does not exist. |
| -33 | Object already has an owner. |
| -34 | Read-only object cannot be modified. |
| -35 | Failed to perform the XML serialization. |
| -36 | Object not applicable to the current document format. |
| -37 | Width not specified. |
| -38 | Failed to initialize the dummy builder. |
| -39 | Unsupported operation. |
| -40 | Invalid folder name. |
| -41 | Failed to instantiate the object. |
| -42 | Failed to write in the file. |
| -43 | Failed to load the file. |
| -44 | Invalid file path. |
| -45 | Protocol not recognized. |
| -46 | Watermark incompatible with the attachment. |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest