IInkPicture::HitTestSelection method (msinkaut.h)

Retrieves a member of the SelectionHitResult enumeration, which specifies which part of a selection, if any, was hit during a hit test.

Syntax

HRESULT HitTestSelection(
  [in]  long               x,
  [in]  long               y,
  [out] SelectionHitResult *SelArea
);

Parameters

[in] x

The x-position, in pixels, of the hit test.

[in] y

The y-position, in pixels, of the hit test.

[out] SelArea

The value from the SelectionHitResult enumeration.

Return value

None

Remarks

For further details about this method, refer to the InkOverlay object's HitTestSelection method, which has the same functionality.

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

IInkPicture

InkPicture

SelectionHitResult Enumeration