InkStrokes.Rotate method

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

Degrees [in]

The degrees by which to rotate clockwise.

x [in, optional]

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

y [in, optional]

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 codeDescription
S_OK

Success.

E_INK_EXCEPTION

An exception occurred inside the method.

 

Requirements

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkStrokes Collection

 

 

Show: