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:
- TextStyle(Func<Typography, TextStyle>)
- TextStyle(Func<Typography, TextStyle>)
- Style(Func<Typography, TextStyle>)
- Style(Func<Typography, TextStyle>)
- Style(Func<Typography, TextStyle>)
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
- 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.
- Footnote
Gets or sets the text style for footnotes.
- 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.