TextControl.Font Method (Typed) | |
Change the current font of the text control.
The font used to draw the text in the control.
This Access/Assign was called Font (without the underscore) in previous versions of X#. it has been renamed to avoid name collision with the TextControl:Font() method
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD Font(
oNewFont,
lRescal
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual Font(
Usual oNewFont = default,
Usual lRescal = default
)
Request Example
View SourceParameters
- oNewFont (Optional)
- Type: Usual
The font used to draw the text control. - lRescal (Optional)
- Type: Usual
TRUE rescales the control according to the new font size. FALSE does not allow rescaling. If omitted, the default is FALSE.
Field Value
Type:
Usual
The font used to draw the text in the control.
This Access/Assign was called Font (without the underscore) in previous versions of X#. it has been renamed to avoid name collision with the TextControl:Font() method
Return Value
Type:
Usual
The previous font used by the text control.
See Also