PowerTCP Emulation for .NET
Font Property




Gets or sets the font used in the display of the control.
Syntax
<DefaultValueAttribute()>
Public Overrides Property Font As Font
Dim instance As Vt
Dim value As Font
 
instance.Font = value
 
value = instance.Font
[DefaultValue()]
public override Font Font {get; set;}
[DefaultValue()]
public: __property Font* get_Font() override;
public: __property void set_Font( 
   Font* value
) override;
[DefaultValue()]
public:
property Font^ Font {
   Font^ get() override;
   void set (    Font^ value) override;
}

Property Value

A System.Drawing.Font object.
Remarks

The default value is 10-point Lucida Console font.

When the Encoding property is set to something other than the default value of Encoding.ASCII, this property should be set to a font (including "script") that can display the anticipated character set.

Font should be set to a fixed-width font. Variable width fonts will not display well due to the cell-based nature of the VT display. Wider characters will extend into neighbor cells, while cells with slimmer characters will include large areas of empty space.

See Also

Reference

Vt Class
Vt Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic