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 the transform of all IInkStrokeDispobjects in the IInkStrokescollection.

Syntax

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

Parameters

HorizontalMultiplier

The factor to scale the horizontal dimension in the transform.

VerticalMultiplier

The factor to scale the vertical dimension in the transform.

Return Value

HRESULT value Description

S_OK

Success.

E_INK_EXCEPTION

An exception occurred inside the method.

Remarks

This method scales the points in the collection of strokes relative to the origin. Thus, if the HorizontalMultiplierparameter is 2.0, the stroke or strokes will be twice as wide, and will also be twice as far, horizontally, from the origin. To control the relative position of the strokes, use this method in conjunction with the IInkStrokes::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