IInkRectangle::SetRectangle
4/8/2010
Sets the elements of the IInkRectangle object in a single call.
Syntax
HRESULT SetRectangle (
[in] long Top,
[in] long Left,
[in] long Bottom,
[in] long Right
);
Parameters
- Top
The top of the rectangle.
- Left
The left of the rectangle.
- Bottom
The bottom of the rectangle.
- Right
The right of the rectangle.
Return Value
HRESULT value | Description |
---|---|
S_OK |
Success. |
E_POINTER |
A parameter contained an invalid pointer. |
E_INK_EXCEPTION |
An exception occurred inside the method. |
Remarks
The order of the parameters in this method (Top, Left, Bottom, and Right) is atypical, and different from the traditional order (Left, Top, Right, and Bottom).
To set the parameters individually, use the following methods:
Requirements
Header | msinkaut.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later |