PDF .NET Library Documentation - PDF Technologies, Inc.

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

Syntax

C#
public double GetTextWidth(
	string Text,
	string FontName,
	double FontSize,
	PDFFontStyles style,
	Charset charset
)
Visual Basic (Declaration)
Public Function GetTextWidth ( _
	Text As String, _
	FontName As String, _
	FontSize As Double, _
	style As PDFFontStyles, _
	charset As Charset _
) As Double
Visual C++
public:
double GetTextWidth(
	String^ Text, 
	String^ FontName, 
	double FontSize, 
	PDFFontStyles style, 
	Charset charset
)

Parameters

Text
Type: System..::.String
FontName
Type: System..::.String
FontSize
Type: System..::.Double
style
Type: PDFTech..::.PDFFontStyles
charset
Type: PDFTech..::.Charset

See Also