PowerTCP Emulation for .NET CF
Font Property
See Also  Send comments on this topic.
Dart.Emulation Namespace > Vt Class : Font Property




Gets or sets the font used in the display of the control.

Syntax

Visual Basic (Declaration) 
Public Overrides Property Font As Font
Visual Basic (Usage)Copy Code
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;
C++/CLI 
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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.