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
TypographyThe 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
isnull
.
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
isnull
.