Click or drag to resize

PdfFontBase GetLineWidth Method

Returns width of the line.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
protected abstract float GetLineWidth(
	string line,
	PdfStringFormat format
)

Parameters

line
Type: System String
Text line.
format
Type: Spire.Pdf.Graphics PdfStringFormat
String format.

Return Value

Type: Single
Width of the line.
See Also