Aspose::Pdf::Facades::PdfBookmarkEditor::ExtractBookmarks method

PdfBookmarkEditor::ExtractBookmarks() method

Extracts bookmarks of all levels from the document.

System::SharedPtr<Bookmarks> Aspose::Pdf::Facades::PdfBookmarkEditor::ExtractBookmarks()

ReturnValue

The bookmarks collection of all bookmarks that exist in the document.

See Also

PdfBookmarkEditor::ExtractBookmarks(bool) method

Extracts bookmarks of all levels from the document.

System::SharedPtr<Bookmarks> Aspose::Pdf::Facades::PdfBookmarkEditor::ExtractBookmarks(bool upperLevel)
ParameterTypeDescription
upperLevelboolIf true, extracts only upper level bookmarks. Else, extracts all bookmarks recursively.

ReturnValue

List of extracted bookmarks.

See Also

PdfBookmarkEditor::ExtractBookmarks(const System::SharedPtr<Bookmark>&) method

Extracts the children of a bookmark with a title like in specified bookamrk.

System::SharedPtr<Bookmarks> Aspose::Pdf::Facades::PdfBookmarkEditor::ExtractBookmarks(const System::SharedPtr<Bookmark> &bookmark)
ParameterTypeDescription
bookmarkconst System::SharedPtr<Bookmark>&The specified bookamrk.

ReturnValue

Bookmark collection with child bookmarks.

See Also

PdfBookmarkEditor::ExtractBookmarks(const System::String&) method

Extracts the bookmarks with the specified title.

System::SharedPtr<Bookmarks> Aspose::Pdf::Facades::PdfBookmarkEditor::ExtractBookmarks(const System::String &title)
ParameterTypeDescription
titleconst System::String&Extracted item title.

ReturnValue

Bookmark collection has items with the same title.

See Also