IInkStrokes::Rotate method (msinkaut.h)

Rotates the ink using an angle in degrees around a center point of the rotation.

Syntax

HRESULT Rotate(
  [in]           float Degrees,
  [in, optional] float x,
  [in, optional] float y
);

Parameters

[in] Degrees

The degrees by which to rotate clockwise.

[in, optional] x

Optional. The x-coordinate of the point in ink space coordinates around which to rotate. Default is the origin.

[in, optional] y

Optional. The y-coordinate of the point in ink space coordinates around which to rotate. Default is the origin.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
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

IInkStrokes

InkStrokes Collection