Skip to content

# PDFRenderingErrorHandling

Namespace: O2S.Components.PDF4NET.Rendering

Specifies how the errors during page rendering should be handled.

    public enum PDFRenderingErrorHandling

Inheritance Object → ValueType → Enum → PDFRenderingErrorHandling
Implements

## Fields

Name | Value | Description
--- | --- | ---
ThrowException | 0 | An exception is thrown if the page content has errors.
ThrowExceptionForAnyErrors | 1 | An exception is thrown if there are any PDF errors.
IgnorePageContentErrors | 2 | Page content errors are ignored and the page is rendered till the first invalid token is encountered.
IgnoreAllErrors | 3 | PDF errors are ignored and the page is rendered till the first PDF error is encountered.
IgnorePageContentErrorsAndContinue | 4 | Page content errors are ignored and the page is rendered, skipping the found invalid tokens.
IgnoreAllErrorsAndContinue | 5 | PDF errors are ignored and the page is rendered, skipping the encountered PDF errors.