PDF .NET Library Documentation - PDF Technologies, Inc.
This function return size of the 'Text' in points for the active font. SetActiveFont must be called before calling this function.

Namespace:  PDFTech
Assembly:  PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)

Syntax

C#
public double GetTextWidth(
	string Text
)
Visual Basic (Declaration)
Public Function GetTextWidth ( _
	Text As String _
) As Double
Visual C++
public:
double GetTextWidth(
	String^ Text
)

Parameters

Text
Type: System..::.String
text to be measured.

Return Value

See Also