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.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
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