IInkStrokes::ScaleTransform
4/8/2010
Applies the specified horizontal and vertical factors to the transform of all IInkStrokeDisp objects in the IInkStrokes collection.
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 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 IInkStrokes::Move method.
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 |