Parses a length.

Namespace: iTextSharp.text.html
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public static float ParseLength(
	string str
)
Visual Basic
Public Shared Function ParseLength ( _
	str As String _
) As Single
Visual C++
public:
static float ParseLength(
	String^ str
)

Parameters

str
Type: System..::..String
a length in the form of an optional + or -, followed by a number and a unit.

Return Value

a float

See Also