IInkTransform::Translate method (msinkaut.h)

Applies a translation to a transform.

Syntax

HRESULT Translate(
  [in] float HorizontalComponent,
  [in] float VerticalComponent
);

Parameters

[in] HorizontalComponent

The horizontal component of the translation.

[in] VerticalComponent

The vertical component of the translation.

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_UNEXPECTED
Unexpected parameter or property type.
E_INVALIDARG
Invalid argument.
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

IInkTransform

InkTransform Class