Click or drag to resize

PdfStyledFieldWidget CalculateMultilineFontSize Method

Calculate font size in multiline field

Namespace: Spire.Pdf.Widget
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
protected float CalculateMultilineFontSize(
	PdfFontBase font,
	RectangleF rect,
	string text
)

Parameters

font
Type: Spire.Pdf.Graphics PdfFontBase
rect
Type: System.Drawing RectangleF
text
Type: System String

Return Value

Type: Single
See Also