This topic has not yet been rated - Rate this topic

IInkStrokeDisp::ScaleTransform method

Applies to: desktop apps only

Applies the specified horizontal and vertical factors to the transform or ink.

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

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_INK_EXCEPTION

An exception occurred inside the method.

 

Remarks

For the IInkStrokeDisp and InkStrokes classes, this method scales the points in the stroke or strokes relative to the origin. Thus, if the HorizontalMultiplier parameter 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 Move method.

Requirements

Minimum supported client

Windows XP Tablet PC Edition

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

IInkStrokeDisp Interface
Move Method

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.