IInkRectangle::GetRectangle method (msinkaut.h)

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

Syntax

HRESULT GetRectangle(
  [out] long *Top,
  [out] long *Left,
  [out] long *Bottom,
  [out] long *Right
);

Parameters

[out] Top

The top of the rectangle.

[out] Left

The left edge of the rectangle.

[out] Bottom

The bottom of the rectangle.

[out] Right

The right edge 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.

Requirements

Requirement Value
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