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 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
|
Minimum supported client | Windows XP Tablet PC Edition |
|---|---|
|
Minimum supported server | None supported |
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 3/6/2012