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.6.1+1d1ddee1b750f38b2287c750628b9791d3c49600
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