Skip to content

HtmlConversionException class

View as Markdown

Namespace: PdfNetStack.Html
Assembly: PdfNetStack.Html.dll
Package: PdfNetStack.Html

Raised when a document goes past a limit of the conversion, such as MaxPages. The HTML may be fine, only too large for the limits set; raise them to convert it.

public sealed class HtmlConversionException : Exception, ISerializable

Inheritance

object ← Exception ← HtmlConversionException

Implements

ISerializable

Creates the exception with a message.

public HtmlConversionException(string message)

message string

HtmlConversionException(string, Exception)

Section titled “ HtmlConversionException(string, Exception)”

Creates the exception with a message and inner exception.

public HtmlConversionException(string message, Exception inner)

message string

inner Exception

Creates the exception with no message.

public HtmlConversionException()