Table of Contents

Class Typography

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

Defines common text styles.

public class Typography
Inheritance
Typography
Inherited Members

Remarks

Use Typography methods to set common text styles.

You can extend this class to provide additional predefined text styles.

Typography objects are used in the following methods:

The library automatically applies some text styles (Document, Header, Body, Footer, Hyperlink). Other text styles are not automatically applied and should be manually used.

Constructors

Typography(Document)

Initializes a new instance of the Typography class.

Properties

Body

Gets or sets the text style applied to Content() and all child elements.

Caption

Gets or sets the text style for captions.

Document

Gets or sets the base style applied to all text elements.

Emphasis

Gets or sets the text style for emphasized text.

Footer

Gets or sets the text style applied to Footer() and all child elements.

Footnote

Gets or sets the text style for footnotes.

Header

Gets or sets the text style applied to Header() and all child elements.

Heading1

Gets or sets the text style for the largest heading.

Heading2

Gets or sets the text style for the second largest heading.

Heading3

Gets or sets the text style for the third largest heading.

Hyperlink

Gets or sets the text style for hyperlinks.

Parent

Gets the predefined text style for loading text properties from parent layout elements.

Plain

Gets or sets the text style for plain text.

Strong

Gets or sets the text style for important text.

SubTitle

Gets or sets the text style for subtitles.

Title

Gets or sets the text style for titles.