Share via


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 function ReparentStrokes(
    strokeIdsToReparent : int[], 
    destination : ContextNodeBase
)

Parameters

  • strokeIdsToReparent
    Type: array<System.Int32[]

    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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ContextNodeBase Class

ContextNodeBase Members

System.Windows.Ink.AnalysisCore Namespace