Skip to content

PDFRenderingError

Namespace: O2S.Components.PDF4NET.Rendering

Defines an error that can appear during the page rendering.

public class PDFRenderingError

Inheritance ObjectPDFRenderingError

Properties

ErrorType

Gets the error type.

public PDFRenderingErrorType ErrorType { get; }

Property Value

PDFRenderingErrorType
A PDFRenderingErrorType enum member specifying the type of the error.


Message

Gets the error message.

public string Message { get; }

Property Value

String
A message associated with the error.


PageNumber

Gets the page number where the error appeared.

public int PageNumber { get; }

Property Value

Int32
An integer value specifying the page number where the error appeared. If value is -1 the error is related to the document.