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




Gets or sets the size of a cell.

Syntax

Visual Basic (Declaration) 
Public Property CellSize As Size
Visual Basic (Usage)Copy Code
Dim instance As Vt
Dim value As Size
 
instance.CellSize = value
 
value = instance.CellSize
C# 
public Size CellSize {get; set;}
Managed Extensions for C++ 
public: __property Size get_CellSize();
public: __property void set_CellSize( 
   Size value
);
C++/CLI 
public:
property Size CellSize {
   Size get();
   void set (    Size value);
}

Property Value

A Size value reflecting the size of a cell.

Remarks

The Vt control is comprised of a "grid" of cells; each cell contains one character. All cells have the same dimensions as determined by the size of the font.

This property can be used to perform resize calculations (for example, if the size of the font is changed, the size of the Vt control can be changed).

This property can be set programatically at runtime. To reset to the default, reset the Font property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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