Divider.LineHeight Property

Divider.LineHeight Property

Gets or sets the expected handwriting height, in HIMETRIC units.

Definition

Visual Basic .NET Public Property LineHeight As Integer
C# public int LineHeight { get; set; }
Managed C++ public: __property int* get_LineHeight();
public: __property void set_LineHeight(int*);

Property Value

System.Int32. The expected handwriting height, in HIMETRIC units.

This property is read/write.

1200 Default.
100 to 50,000 Range of possible values

Exceptions

ArgumentException Leave Site:
ArgumentException Leave Site:

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 have been assigned to the Divider object generates an error.

Examples

[C#]

This C# example creates a Divider object, theDivider, and sets the LineHeight property to 2052 HIMETRIC units.

Microsoft.Ink.Divider theDivder = new Divider();
theDivider.LineHeight = 2052;

[Visual Basic .NET]

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