IInkRectangle::SetRectangle method (msinkaut.h)

Sets the elements of the InkRectangle object in a single call.

Syntax

HRESULT SetRectangle(
  [in] long Top,
  [in] long Left,
  [in] long Bottom,
  [in] long Right
);

Parameters

[in] Top

The top of the rectangle.

[in] Left

The left of the rectangle.

[in] Bottom

The bottom of the rectangle.

[in] Right

The right of the rectangle.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
A parameter contained an invalid pointer.
E_INK_EXCEPTION
An exception occurred inside the method.

Remarks

Note  The order of the parameters in this method (Top, Left, Bottom, and Right) is different from the expected order (Left, Top, Right, and Bottom).
 

Requirements

   
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

Bottom Property

IInkRectangle

InkRectangle Class

Left Property

Right Property

Top Property