IInkRenderer::GetViewTransform method

Gets the InkTransform object that represents the view transform that is used to render ink.

Syntax

HRESULT GetViewTransform(
  IInkTransform *ViewTransform
);

Parameters

ViewTransform

The matrix that represents the geometric transformation - rotation, scaling, shear, and reflection - values to use to transform the stroke coordinates within the ink space. The transformation applies to both the points and pen width. View transformation occurs after object transformation.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
A parameter contained an invalid pointer.
E_INK_EXCEPTION
An exception occurred inside the method.

Remarks

Any translations applied to this transform should be in ink space units (1 unit = .01mm).

Adjusting the view transform is analogous to adjusting the zoom factor on the ink rendering.

View transformation occurs after object transformation.

Requirements

   
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

See also

GetObjectTransform Method

IInkRenderer

InkRenderer Class

SetObjectTransform Method

SetViewTransform Method