Table of Contents

Method Typography

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

Typography(Typography)

Sets a typography for this document.

public Document Typography(Typography typography)

Parameters

typography Typography

The typography to use in this document.

Returns

Document

The updated document layout.

Remarks

Read the Fonts and colors section of the C# PDF generation quick start guide for examples of using Typography objects.

Exceptions

ArgumentNullException

typography is null.

Typography(Action<Typography>)

Sets a typography for this document.

public Document Typography(Action<Typography> handler)

Parameters

handler Action<Typography>

The handler to setup typography.

Returns

Document

The updated document layout.

Remarks

Read the Fonts and colors section of the C# PDF generation quick start guide for examples of using Typography objects.

Exceptions

ArgumentNullException

handler is null.