[This is preliminary documentation and is subject to change.]

This enum specifies the behavior if and howto the HTML content should be tidied (made well-formed).

Namespace: TallComponents.Web
Assembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 1.0.4.1

Syntax

C#
public enum TidyBehavior
Visual Basic
Public Enumeration TidyBehavior

Members

Member nameValueDescription
Always0 In this mode the HTML content will be processed always to check if it's wellformed and if not it tried to correct this.

Notice that this step can manipulate whitespace behavior for already well-formed document, as well that it takes some time.

Never1 In this mode the HTML content should be wellformed already, otherwise an exception will be throw.

This is the best option if the content is already well-formed, like XHTML.

Auto2 In this mode the engine will automatically check if it's well-formed. (this is the default setting)

This is the best option if the content is already well-formed, like XHTML, but sometimes it's not wellformed, or you don't know wheter it's well-formed or not.

See Also