IPenInputPanel::get_Width method (peninputpanel.h)

Deprecated. The PenInputPanel has been replaced by the Text Input Panel (TIP).

Gets the width of the pen input panel in client coordinates.

This property is read-only.

Syntax

HRESULT get_Width(
  long *Width
);

Parameters

Width

Return value

None

Remarks

The width of the PenInputPanel object is dependent on the screen resolution for the particular Tablet PC. The default value at 96 dots per inch (dpi) is 570 pixels. The default value at 120 dpi is 712 pixels. The default value at 133 dpi is 790 pixels.

Starting with Microsoft Windows XP Tablet PC Edition 2005, the Tablet PC Input Panel allows the user to continue entering handwriting by automatically increasing the size of the Tablet PC Input Panel to accommodate new handwriting. The Height and Width properties do not update to reflect the new size as the Tablet PC Input Panel grows. These properties return the original size of the Tablet PC Input Panel. They also do not report the dimensions of the Tablet PC Input Panel hover target.

Requirements

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

See also

Height Property [PenInputPanel Class]

IPenInputPanel

PenInputPanel