IInkRenderer::InkSpaceToPixelFromPoints method (msinkaut.h)

Converts an array of points in ink space coordinates to an array of points in pixel space.

Syntax

HRESULT InkSpaceToPixelFromPoints(
  [in]      LONG_PTR hDC,
  [in, out] VARIANT  *Points
);

Parameters

[in] hDC

The handle of the device context on which to draw.

[in, out] Points

The array of points in ink space coordinates to convert into pixel locations. This should be an array of 32-bit integer values, passed within a VARIANT.

For more information about the VARIANT structure, see Using the COM Library.

Return value

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

Remarks

InkSpaceToPixelFromPoints applies the object transform, applies the view transform of the InkRenderer object, and then converts from inkspace to pixel units (1 ink unit = .01mm).

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

InkSpaceToPixel Method

PixelToInkSpace Method

PixelToInkSpaceFromPoints Method