IInkStrokeDisp::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. The default value is the origin (0).

[in, optional] y

Optional. The y-coordinate of the point in ink space coordinates around which to rotate. The default value is the origin (0).

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

IInkStrokeDisp Interface