PDF Plugin for Xojo |

# PDFDocument.ClearError Method (console safe)

Clears the values in the LastErrorNumber and LastErrorDetailNumber properties.

ClearError()

#### Parameters

#### Remarks

You do not have to call this method, we automatically clear the internal error so the PDFdocument is not in state where it cannot be saved. Only reason why you might want to clear this if your code is defensive constantly checking for errors then after catching one it might want to clear it.

#### See Also

PDFDocument Class