Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Scales the IInkRenderer's view IInkTransformin 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