Configuration Class

Configuration class

The environment of one conversion: fonts, resource policy, scripting, limits and cancellation. A conversion copies the data it holds at entry; callback objects stay borrowed.

public sealed class Configuration

Constructors

NameDescription
Configuration()Initializes a new instance of the Configuration class.

Properties

NameDescription
Cancellation { get; set; }Polled between resource operations, layout passes, pages and writes. Default null.
Fonts { get; }Font sources. Getter-only; created with the configuration.
Limits { get; }Work and size limits. Getter-only; created with the configuration.
Resources { get; }Resource loading policy. Getter-only; created with the configuration.
Scripting { get; }Script settings. Getter-only; created with the configuration.
UserScripts { get; set; }Script texts to run once after the document’s own scripts. Default empty.
UserStyleSheets { get; set; }Style sheet texts with CSS user origin, resolved against the document base. Default empty.

See Also