Click or drag to resize

TextObject Constructor

X#
Create a TextObject object.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 CONSTRUCTOR(
	oPoint,
	cText,
	oFont,
	oColor
) CLIPPER
Request Example View Source

Parameters

oPoint (Optional)
Type: Usual
The origin of the TextObject object in canvas coordinates. If omitted, the default is (10,10).
cText (Optional)
Type: Usual
The text to be displayed. If omitted, the default is NULL_STRING.
oFont (Optional)
Type: Usual
The font to be used by the TextObject object. The default is the system font.
oColor (Optional)
Type: Usual
The color to be used by the TextObject object. The default is the color currently being used. (Refer to the Color:Init() method for details on specifying a color.)
See Also