Click or drag to resize

PdfStringLayouter Layout Method

Layouts the text.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfStringLayoutResult Layout(
	string text,
	PdfFontBase font,
	PdfStringFormat format,
	SizeF size
)

Parameters

text
Type: System String
String text.
font
Type: Spire.Pdf.Graphics PdfFontBase
Font for the text.
format
Type: Spire.Pdf.Graphics PdfStringFormat
String format.
size
Type: System.Drawing SizeF
Bounds of the text.

Return Value

Type: PdfStringLayoutResult
Layout result.
See Also