Click or drag to resize
Pdftools logo

TextGeneratorFontSize Property

The current font size.

The font size is used for all subsequent Show(String) and ShowLine(String) calls.

Note that this sets the font size only. Also use Leading to set the leading.


Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.7.1+cd848a3eabf1b263af73d28a644a529edd2f1318
Syntax
C#
public double FontSize { set; }

Property Value

Double
Exceptions
ExceptionCondition
InvalidOperationExceptionif the object has already been closed
InvalidOperationExceptionif the underlying text object has already been closed
ArgumentExceptionif the given value is smaller than 0.
See Also