InkPicture.GetWindowInputRectangle method
Retrieves the window rectangle, in pixels, within which ink is drawn.
Syntax
HRESULT GetWindowInputRectangle( [out] IInkRectangle **WindowInputRectangle );
Parameters
- WindowInputRectangle [out]
-
Gets the rectangle, of type InkRectangle, on which ink is drawn.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
A parameter contains an invalid pointer. |
|
The InkRectangle object is not registered. |
|
An exception occurs inside the method. |
Remarks
You must first allocate the rectangle before passing it on to this method.
By default, the window input rectangle is set to {0,0,0,0}. This default rectangle maps to the size of the entire window.
If you call GetWindowInputRectangle before you call the SetWindowInputRectangle method, this method gets a rectangle with the default coordinates.
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also