ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFBookmark Class / FindTitle Method
The text value to search for.
The number of sub-tree levels to search, not counting the root level. 0 - Only look at the current bookmark, not at any of its children. 1 - Check the current bookmark and its children, but not any grandchildren or great grandchildren, and so on. -1 - Check the entire sub-tree.




In This Topic
    FindTitle Method
    In This Topic
    Gets the first bookmark whose title is Title.
    Syntax
    'Declaration
     
    Public Function FindTitle( _
       ByVal title As String, _
       ByVal maxDepth As Integer _
    ) As ImGearPDFBookmark
    'Usage
     
    Dim instance As ImGearPDFBookmark
    Dim title As String
    Dim maxDepth As Integer
    Dim value As ImGearPDFBookmark
     
    value = instance.FindTitle(title, maxDepth)
    public ImGearPDFBookmark FindTitle( 
       string title,
       int maxDepth
    )
    public: ImGearPDFBookmark* FindTitle( 
       string* title,
       int maxDepth
    ) 
    public:
    ImGearPDFBookmark^ FindTitle( 
       String^ title,
       int maxDepth
    ) 

    Parameters

    title
    The text value to search for.
    maxDepth
    The number of sub-tree levels to search, not counting the root level. 0 - Only look at the current bookmark, not at any of its children. 1 - Check the current bookmark and its children, but not any grandchildren or great grandchildren, and so on. -1 - Check the entire sub-tree.

    Return Value

    The bookmark with the specified title or Null if there is no such bookmark.
    See Also