PdfTextElement Constructor
Initializes a new instance of the
PdfTextElement class with the specified text and font.
Use PdfFontManager to create the font
Namespace: EvoPdf.ChromiumAssembly: EvoPdf.Chromium (in EvoPdf.Chromium.dll) Version: 12.5.0
public PdfTextElement(
string text,
PdfFont font
)
Parameters
- text String
- The text to render
- font PdfFont
- The PdfFont to be used for rendering the text