C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / OutlineNodeCollection Class / Add Method / Add(String,IDocumentLocation,Icon) Method
The caption of the node to add.
The location associated with the node.
The icon associated with the node.

In This Topic
Add(String,IDocumentLocation,Icon) Method
In This Topic
Adds a node with the specified caption, location and icon to the current collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal caption As String, _
   ByVal location As IDocumentLocation, _
   ByVal icon As Icon _
) As Integer
 

Parameters

caption
The caption of the node to add.
location
The location associated with the node.
icon
The icon associated with the node.

Return Value

The index of the newly added node in the current collection.
See Also