DeviceGetTextWidth Method |
Gets the width of a string using the built-in font
Namespace:
ProScript
Assembly:
proscript-csharp (in proscript-csharp.dll) Version: 1.2.79.0 (1.2.79.0)
Syntax public uint GetTextWidth(
string text
)
Public Function GetTextWidth (
text As String
) As UInteger
public:
unsigned int GetTextWidth(
String^ text
)
member GetTextWidth :
text : string -> uint32
Parameters
- text
- Type: SystemString
String to measure
Return Value
Type:
UInt32width of the string in pixels
See Also