Sets the InkTransform object that represents the view transform that is used to render ink.
HRESULT SetViewTransform( IInkTransform *ViewTransform );
The InkTransform object that represents the geometric transformation - rotation, scaling, shear, and reflection - values to use to transform the stroke coordinates within the ink space.
A NULL value for the viewTransform parameter correlates to the identity transform.
This method can return one of these values.
||A parameter contained an invalid pointer.|
||viewTransform does not point to a compatible InkTransform object.|
||An exception occurred inside the method.|
The transformation applies to both the points and pen width.
View transformation occurs after object transformation.
The pen width is calculated by multiplying the specified pen width (or default of 53, if unspecified) by the square root of the determinant of the view transform.
It is problematic to call this method in response to SENT message. Test whether you are processing a SENT message by calling InSendMesssageEx and then POST the message to yourself if the message was SENT.
|Minimum supported client||Windows XP Tablet PC Edition [desktop apps only]|
|Minimum supported server||None supported|