Visual Basic (Declaration) | |
---|---|
Public Overrides Property Font As Font |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Vt Dim value As Font instance.Font = value value = instance.Font |
C# | |
---|---|
public override Font Font {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property Font* get_Font() override; public: __property void set_Font( Font* value ) override; |
Property Value
A System.Drawing.Font object.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.
Target Platforms: Microsoft .NET Framework 2.0