Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IInkStrokeDisp::ScaleToRectangle method (msinkaut.h)
Scales the IInkStrokeDisp object or InkStrokes collection to fit in the specified InkRectangle object.
Syntax
HRESULT ScaleToRectangle(
[in] IInkRectangle *Rectangle
);
Parameters
[in] Rectangle
The InkRectangle in ink space to which the stroke or collection of strokes is scaled. The strokes are scaled and translated to match the strokes' bounding box to the rectangle.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
An exception occurred inside the 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 |
See also
Feedback
Was this page helpful?
