IInkRenderer::ScaleTransform method (msinkaut.h)

Scales the view transform in the X and Y dimension.

Syntax

HRESULT ScaleTransform(
  [in]           float        HorizontalMultiplier,
  [in]           float        VerticalMultiplier,
  [in, optional] VARIANT_BOOL ApplyOnPenWidth
);

Parameters

[in] HorizontalMultiplier

The factor to scale the X dimension in the view transform.

[in] VerticalMultiplier

The factor to scale the Y dimension in the view transform.

[in, optional] ApplyOnPenWidth

Optional. VARIANT_TRUE to apply the scale factors to the pen width; otherwise, VARIANT_FALSE. The default is VARIANT_TRUE.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INK_EXCEPTION
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
Library InkObj.dll

See also

IInkRenderer

InkRenderer Class