IInkRenderer::ScaleTransform method

Scales the view transform in the X and Y dimension.

Syntax

HRESULT ScaleTransform(
  float        HorizontalMultiplier,
  float        VerticalMultiplier,
  VARIANT_BOOL ApplyOnPenWidth
);

Parameters

HorizontalMultiplier

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

VerticalMultiplier

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

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

   
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