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(
  long               x,
  long               y,
  SelectionHitResult *SelArea
);

Parameters

x

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

y

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

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

   
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