Click or drag to resize

Window.SizeText Method (Typed)

X#
Determine the space needed to print a string on the window in the current font.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD SizeText(
	cTextToSize AS STRING
) AS Dimension
Request Example View Source

Parameters

cTextToSize
Type: String
The string to be printed.

Return Value

Type: Dimension
A dimension representing the space required to print the string on this window using the current font.
See Also