Calculate the length of given text. Multiply the result with the font size to get the length in points.

Namespace: TallComponents.PDF.Layout.Fonts
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public double CalculateLength(
	string text
)
Visual Basic
Public Function CalculateLength ( _
	text As String _
) As Double

Parameters

text
Type: System..::..String
Calculate the length of this text.

Return Value

Length in points. Multiply this with the font size to get the length in points.

See Also