ImageGear .NET v25.0 - Updated
AddSubtree Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFBookmark Class : AddSubtree Method
The bookmark sub-tree to add.
The new bookmark's title.
Adds a copy of the bookmark sub-tree source to the current bookmark, as a new last child of the current bookmark.
Syntax
'Declaration
 
Public Sub AddSubtree( _
   ByVal subtree As ImGearPDFBookmark, _
   ByVal sourceTitle As String _
) 
'Usage
 
Dim instance As ImGearPDFBookmark
Dim subtree As ImGearPDFBookmark
Dim sourceTitle As String
 
instance.AddSubtree(subtree, sourceTitle)
public void AddSubtree( 
   ImGearPDFBookmark subtree,
   string sourceTitle
)
public: void AddSubtree( 
   ImGearPDFBookmark* subtree,
   string* sourceTitle
) 
public:
void AddSubtree( 
   ImGearPDFBookmark^ subtree,
   String^ sourceTitle
) 

Parameters

subtree
The bookmark sub-tree to add.
sourceTitle
The new bookmark's title.
Remarks
This new item will have the text value sourceTitle, will be open, and will have no destination attribute. Subtree must have been previously unlinked. If the current bookmark previously had no children, it will be open after the sub-tree is added.
See Also

Reference

ImGearPDFBookmark Class
ImGearPDFBookmark Members