IInkTablet::get_MaximumInputRectangle method (msinkaut.h)

Gets the maximum input rectangle, in tablet device coordinates that the IInkTablet object supports.

This property is read-only.


HRESULT get_MaximumInputRectangle(
  IInkRectangle **Rectangle



Return value



The rectangle returned by the MaximumInputRectangle property specifies the maximum allowable space in which ink can be drawn.

Note  Accessing this property within certain message handlers can result in the underlying function being re-entered, causing unexpected results. Take care to avoid a reentrant call when handling any of the following messages: WM_ACTIVATE, WM_ACTIVATEAPP, WMNCACTIVATE, WM_PAINT; WM_SYSCOMMAND if wParam is set to SC_HOTKEY or SC_TASKLIST; and WM_SYSKEYDOWN (when processing Alt-Tab or Alt-Esc key combinations). This is an issue with single-threaded apartment model applications.


Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

IInkTablet Interface

InkRectangle Class