FormattedTextObject Constructor (Typed) | |
Construct a FormattedTextObject object.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax CONSTRUCTOR(
oPoint AS Point,
cText AS STRING,
oFont AS Font,
oColor AS Color
)
public FormattedTextObject(
Point oPoint,
string cText,
Font oFont,
Color oColor
)
Request Example
View SourceParameters
- oPoint
- Type: Point
The origin of the FormattedTextObject object in canvas coordinates. The default is Point{16, 16}. - cText
- Type: String
The text to be displayed in the FormattedTextObject object. - oFont
- Type: Font
The font to be used by the FormattedTextObject object. The default is the system font. - oColor
- Type: Color
The color to be used by the FormattedTextObject object. The default is the current window's color selection. (Refer to the Color:Init() method for details on specifying a color.)
See Also