InkPicture.HitTestSelection method

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

Syntax


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

Parameters

x [in]

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

y [in]

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

SelArea [out]

The value from the SelectionHitResult enumeration.

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

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkPicture
SelectionHitResult Enumeration

 

 

Show: