Freigeben über


ContextNodeBase.ReparentStrokes Method

For use with base objects only. Moves the strokes from this ContextNodeBase object to the specified ContextNodeBase object.

Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in iacore.dll)

Syntax

'Declaration
Public Sub ReparentStrokes ( _
    strokeIdsToReparent As Integer(), _
    destination As ContextNodeBase _
)
'Usage
Dim instance As ContextNodeBase
Dim strokeIdsToReparent As Integer()
Dim destination As ContextNodeBase

instance.ReparentStrokes(strokeIdsToReparent, destination)
public void ReparentStrokes (
    int[] strokeIdsToReparent,
    ContextNodeBase destination
)
public:
void ReparentStrokes (
    array<int>^ strokeIdsToReparent, 
    ContextNodeBase^ destination
)
public void ReparentStrokes (
    int[] strokeIdsToReparent, 
    ContextNodeBase destination
)
public function ReparentStrokes (
    strokeIdsToReparent : int[], 
    destination : ContextNodeBase
)
Not applicable.

Parameters

  • strokeIdsToReparent
    The identifiers of the strokes to move.

Remarks

The specified ContextNodeBase must be one of the following types:

Attempting to move a stroke to any other type of ContextNodeBase results in an ArgumentException.

This method can be called from any ContextNodeBase object, including non-ink leaf ContextNodeBase objects. The specified stroke must be referenced by one of the descendants of this ContextNodeBase object or an ArgumentException is raised.

If either the ContextNodeBase object or the destination is confirmed, an exception is raised.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ContextNodeBase Class
ContextNodeBase Members
System.Windows.Ink.AnalysisCore Namespace