Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Applies the specified horizontal and vertical factors to an IInkStrokeDisp.

Syntax

HRESULT ScaleTransform(
  [in] float HorizontalMultiplier,
  [in] float VerticalMultiplier

Parameters

HorizontalMultiplier

[in] The factor to scale the horizontal dimension in the transform.

VerticalMultiplier

[in] The factor to scale the vertical dimension in the transform.

Return Value

S_OK

Success.

E_INK_EXCEPTION

An exception occurred inside the method.

Remarks

This method scales the points in the stroke relative to the origin. Thus, if the HorizontalMultiplier parameter is 2.0, the stroke will be twice as wide, and will also be twice as far, horizontally, from the origin. To control the relative position of the stroke, use this method in conjunction with the IInkStrokeDisp::Movemethod.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also