Skip to content

PdfRenderingErrorHandling Enum

Definition

Namespace: Xfinium.Pdf.Rendering

Specifies how the errors during page rendering should be handled.

C#
public enum PdfRenderingErrorHandling

Inheritance: Object → ValueType → Enum → PdfRenderingErrorHandling

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.