InkEdit.MultiLine property

Gets or sets a value indicating whether an InkEdit control can accept and display multiple lines of text.

This property is read/write.

Syntax


HRESULT put_MultiLine(
  [in]          VARIANT_BOOL newVal
);

HRESULT get_MultiLine(
  [out, retval] VARIANT_BOOL *pVal
);

Property value

VARIANT_TRUE to allow multiple lines of text; VARIANT_FALSE to ignore carriage returns and to restrict data to a single line. The default value is VARIANT_TRUE.

This property is read/write at design time, but read-only at run time.

Remarks

A multiple-line InkEdit control wraps text as the user types text extending beyond the text box.

You can also add scroll bars to a larger InkEdit control using the ScrollBars property. If no HScrollBar control (horizontal scroll bar) is specified, the text in a multiple-line InkEdit control automatically wraps.

Requirements

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Inked.h (also requires inked_i.c)

Library

InkEd.dll

See also

InkEdit

 

 

Show: