Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
|---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
Invalid display handle. |
|
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 |