ImageGear for .NET
GetTextWidth Method




Text string whose actual width is to be calculated. If this parameter is null, the width is calculated for the text assigned to the text object.
Calculates the actual width of a text string, taking into account the current Text Object settings.
Syntax
'Declaration
 
Public Function GetTextWidth( _
   ByVal text As String _
) As Single
'Usage
 
Dim instance As ImGearVectorTextObject
Dim text As String
Dim value As Single
 
value = instance.GetTextWidth(text)
public float GetTextWidth( 
   string text
)
public: float GetTextWidth( 
   string* text
) 
public:
float GetTextWidth( 
   String^ text
) 

Parameters

text
Text string whose actual width is to be calculated. If this parameter is null, the width is calculated for the text assigned to the text object.

Return Value

Any positive value.
See Also

Reference

ImGearVectorTextObject Class
ImGearVectorTextObject Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback