ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFBookmark Class / AddNewChild Method
The new bookmark's title.




In This Topic
    AddNewChild Method
    In This Topic
    Adds a new bookmark to the tree containing the current bookmark, as the new last child of it.
    Syntax
    'Declaration
     
    Public Function AddNewChild( _
       ByVal text As String _
    ) As ImGearPDFBookmark
    'Usage
     
    Dim instance As ImGearPDFBookmark
    Dim text As String
    Dim value As ImGearPDFBookmark
     
    value = instance.AddNewChild(text)
    public ImGearPDFBookmark AddNewChild( 
       string text
    )
    public: ImGearPDFBookmark* AddNewChild( 
       string* text
    ) 
    public:
    ImGearPDFBookmark^ AddNewChild( 
       String^ text
    ) 

    Parameters

    text
    The new bookmark's title.

    Return Value

    ImGearPDFBookmark class object.
    Remarks
    If the current bookmark previously had no children, it will be open after the child is added.
    See Also