Divider.LineHeight Property
Gets or sets the expected handwriting height, in HIMETRIC units.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Property LineHeight As Integer
'Usage
Dim instance As Divider
Dim value As Integer
value = instance.LineHeight
instance.LineHeight = value
public int LineHeight { get; set; }
public:
property int LineHeight {
int get ();
void set (int value);
}
/** @property */
public int get_LineHeight ()
/** @property */
public void set_LineHeight (int value)
public function get LineHeight () : int
public function set LineHeight (value : int)
Not applicable.
Property Value
The expected handwriting height, in HIMETRIC units.
Value |
Meaning |
---|---|
1200 |
Default. |
100 to 50,000 |
Range of possible values |
Remarks
The LineHeight property must be in the range of 100 to 50,000 HIMETRIC units.
The Divider object uses the LineHeight property to help distinguish between drawing and handwriting.
Setting the LineHeight property after strokes are assigned to the Divider object will generate an error.
Example
This C# example creates a Divider object, theDivider
, and sets the LineHeight property to 2052 HIMETRIC units.
Microsoft.Ink.Divider theDivider = new Divider();
theDivider.LineHeight = 2052;
This Microsoft Visual Basic .NET example creates a Divider object, theDivider
, and sets the LineHeight property to 2052 HIMETRIC units.
Dim theDivider As New Microsoft.Ink.Divider()
theDivider.LineHeight = 2052
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0