Skip to content

Latest commit

 

History

History
159 lines (130 loc) · 3.91 KB

nf-msinkaut-iinkdisp-addstrokesatrectangle.md

File metadata and controls

159 lines (130 loc) · 3.91 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.AddStrokesAtRectangle
IInkDisp::AddStrokesAtRectangle (msinkaut.h)
Adds a specified Strokes collection into this InkDisp object at a specified rectangle.
AddStrokesAtRectangle
AddStrokesAtRectangle method [Tablet PC]
AddStrokesAtRectangle method [Tablet PC]
IInkDisp interface
IInkDisp interface [Tablet PC]
AddStrokesAtRectangle method
IInkDisp.AddStrokesAtRectangle
IInkDisp::AddStrokesAtRectangle
c5a7cbbc-361c-4e99-af31-f7114eb5261b
msinkaut/IInkDisp::AddStrokesAtRectangle
tablet.inkdisp_addstrokesatrectangle
tablet\inkdisp_addstrokesatrectangle.htm
tablet
c5a7cbbc-361c-4e99-af31-f7114eb5261b
12/05/2018
AddStrokesAtRectangle, AddStrokesAtRectangle method [Tablet PC], AddStrokesAtRectangle method [Tablet PC],IInkDisp interface, IInkDisp interface [Tablet PC],AddStrokesAtRectangle method, IInkDisp.AddStrokesAtRectangle, IInkDisp::AddStrokesAtRectangle, c5a7cbbc-361c-4e99-af31-f7114eb5261b, msinkaut/IInkDisp::AddStrokesAtRectangle, tablet.inkdisp_addstrokesatrectangle
msinkaut.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
InkObj.dll
Windows
19H1
IInkDisp::AddStrokesAtRectangle
msinkaut/IInkDisp::AddStrokesAtRectangle
c++
APIRef
kbSyntax
COM
InkObj.dll
InkObj.dll.dll
IInkDisp.AddStrokesAtRectangle

IInkDisp::AddStrokesAtRectangle

-description

Adds a specified Strokes collection into this InkDisp object at a specified rectangle.

-parameters

-param SourceStrokes [in]

The strokes to add to the ink. These source strokes are appended to this InkDisp object.

-param TargetRectangle [in]

The InkRectangle in ink space coordinates where the strokes are added. A run-time error occurs if the coordinates of the rectangle are {0,0,0,0}.

-returns

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
A parameter contained an invalid pointer.
E_FAIL
An unspecified error occurred.
E_INK_INCOMPATIBLE_OBJECT
A pointer does not point at a valid object.
E_INK_EXCEPTION
An exception occurred inside the method.
E_INVALIDARG
The rectangle's top and bottom are equal.

-remarks

When inserted, the strokes are scaled from the bounding box of the strokes to the rectangle.

This method can be used to copy strokes within a single InkDisp object. The source ink strokes do not have to come from another InkDisp object.

-see-also

IInkDisp

InkDisp Class

InkStrokes Collection