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
typographyTypographyThe 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
typographyisnull.
Typography(Action<Typography>)
Sets a typography for this document.
public Document Typography(Action<Typography> handler)
Parameters
handlerAction<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
handlerisnull.