Share via


IInkRenderer::ScaleTransform

4/8/2010

Scales the IInkRenderer's view IInkTransform in the X and Y dimension.

Syntax

HRESULT ScaleTransform(
  [in] float HorizontalMultiplier, 
  [in] float VerticalMultiplier, 
  [in, optional, defaultvalue(-1)] 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
    Whether to also apply the scale factors to the pen width. The default is TRUE.

Return Value

HRESULT value Description

S_OK

Success.

E_INK_EXCEPTION

An exception occurred inside the method.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference