AddChild

Top  Previous  Next

The AddChild property is used to add a child node to the current node.

 

 

 

Syntax

 

 

 

[VC++]

CgtPDFOutlineX AddChild(LPCTSTR Title, LPDISPATCH Destination, LPDISPATCH OutLineAttribute);

 

[CS]

public abstract new gtPDFOutlineX AddChild(System.String Title, PDFtoolkitX.gtPDFDestinationX Destination , PDFtoolkitX.gtBookmarkAttributeX OutLineAttribute)

 

[VB]

Function AddChild(Title As String, Destination As gtPDFDestinationX, OutLineAttribute As gtBookmarkAttributeX) As gtPDFOutlineX

 

 

 

 

Parameters

 

Title

[in] Indicates the name of the child to be added.

 

Destination

[in] Refers to the position where child needs to be inserted. Pass an instance of Destination object with its properties set.

 

OutLineAttribute

[in] Instance of gtBookmarkAttributeX, whose properties can be used to set the bookmark's color and style.

 

 

Return Value

 

 

Instance of TgtPDFOutline that refers to the added child node.