Skip to content

SelectAll Method

Description

Selects all nodes in the graph.

Syntax

Public Sub SelectAll()

Remarks

This will select all nodes in the graph; selected nodes have a "bluish" color when selected. The current selection is stored in the active page's Selection property.

Example

Sample code to group currently selected nodes:

Dim pGroup As FlowGraphNodeGroup  
Set pGroup = FlowGraph.ActivePage.Groups.AddGroup

Dim i As Integer  
For i = 0 To FlowGraph.ActivePage.Selection.Count  
    Dim pNode As FlowGraphNode  
    Set pNode = FlowGraph.ActivePage.Selection.Item(i)  

    If Not pNode Is Nothing Then  
        pGroup.AddNode pNode  
    End If  
Next i

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.