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);
}
public function get LineHeight () : int
public function set LineHeight (value : int)
Property Value
Type: System.Int32
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.
Examples
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 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0