www.gnostice.com 

TextWidth Method

Top  Previous  Next

The TextWidth method is used to set the width of the text.

 

 

 

 

Syntax

 

 

[VC++]

double TextWidth(LPCTSTR Text);

 

[C#]

public abstract new System.Double TextWidth ( System.String Text )

 

[VB]

Function TextWidth(Text As String) As Double

 

 

 

 

 

 

Parameters

 

 

Text

Specifies the string for which the text width is determined.

 

 

 

 

Return Value

 

 

Returns the width of a string rendered in the Engines font.