Table of Contents

Constructor LayoutSession

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

LayoutSession(FontEngine, LayoutSessionOptions?)

Initializes a session over a font engine.

public LayoutSession(FontEngine fonts, LayoutSessionOptions? options = null)

Parameters

fonts FontEngine

The font engine every layout measures with.

options LayoutSessionOptions

The options, or null for the defaults.

Exceptions

ArgumentNullException

fonts is null.