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.4.0+02318d3e3f9645a1305b87026fb971a660079e54
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