IInkStrokeDisp::ScaleTransform method (msinkaut.h)
Applies the specified horizontal and vertical factors to the transform or ink.
Syntax
HRESULT ScaleTransform(
[in] float HorizontalMultiplier,
[in] float VerticalMultiplier
);
Parameters
[in] HorizontalMultiplier
The factor to scale the horizontal dimension in the transform.
[in] VerticalMultiplier
The factor to scale the vertical dimension in the transform.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
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
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 |