Export (0) Print
Expand All

IInkStrokeDisp::ScaleToRectangle method

Applies to: desktop apps only

Scales the IInkStrokeDisp object or InkStrokes collection to fit in the specified InkRectangle object.

Syntax

HRESULT ScaleToRectangle(
  [in]  IInkRectangle *Rectangle
);

Parameters

Rectangle [in]

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 codeDescription
S_OK

Success.

E_POINTER

A parameter contained an invalid pointer.

E_INK_EXCEPTION

An exception occurred inside the 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
InkRectangle Class

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft