Skip to content

Latest commit

 

History

History
147 lines (113 loc) · 3.99 KB

nf-msinkaut-iinkdisp-hittestwithrectangle.md

File metadata and controls

147 lines (113 loc) · 3.99 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msinkaut.IInkDisp.HitTestWithRectangle
IInkDisp::HitTestWithRectangle (msinkaut.h)
Retrieves the strokes that are contained within a specified rectangle.
401c4f62-a406-49ac-9911-91f815cde9c8
HitTestWithRectangle
HitTestWithRectangle method [Tablet PC]
HitTestWithRectangle method [Tablet PC]
IInkDisp interface
IInkDisp interface [Tablet PC]
HitTestWithRectangle method
IInkDisp.HitTestWithRectangle
IInkDisp::HitTestWithRectangle
msinkaut/IInkDisp::HitTestWithRectangle
tablet.inkdisp_hittest_rectangle__single
tablet\inkdisp_hittest_rectangle__single.htm
tablet
401c4f62-a406-49ac-9911-91f815cde9c8
12/05/2018
401c4f62-a406-49ac-9911-91f815cde9c8, HitTestWithRectangle, HitTestWithRectangle method [Tablet PC], HitTestWithRectangle method [Tablet PC],IInkDisp interface, IInkDisp interface [Tablet PC],HitTestWithRectangle method, IInkDisp.HitTestWithRectangle, IInkDisp::HitTestWithRectangle, msinkaut/IInkDisp::HitTestWithRectangle, tablet.inkdisp_hittest_rectangle__single
msinkaut.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
InkObj.dll
Windows
19H1
IInkDisp::HitTestWithRectangle
msinkaut/IInkDisp::HitTestWithRectangle
c++
APIRef
kbSyntax
COM
InkObj.dll
InkObj.dll.dll
IInkDisp.HitTestWithRectangle

IInkDisp::HitTestWithRectangle

-description

Retrieves the strokes that are contained within a specified rectangle.

-parameters

-param SelectionRectangle [in]

The selection rectangle, of type InkRectangle, in ink space coordinates.

-param IntersectPercent [in]

The float or single percentage value that determines which strokes are included in the collection. Strokes that intersect the rectangle are included in the collection if the percentage of points in those strokes contained within the rectangle is greater than or equal to the IntersectPercent percentage.

-param Strokes [out, retval]

When this method returns, contains a pointer to the collection of strokes that makes up the ink.

-returns

This method can return one of these values.

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

-remarks

To determine which points of a known stroke intersect the test area, call the GetRectangleIntersections method of the IInkStrokeDisp object, which retrieves the points where a stroke intersects a known rectangle.

-see-also

HitTest(Point, Single) Method

HitTest(Point[], Single) Method

IInkDisp

InkDisp Class

InkStrokes Collection