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(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(System::SharedPtr<Bookmark> bookmark)
ParameterTypeDescription
bookmarkSystem::SharedPtr<Bookmark>The specified bookamrk.

ReturnValue

Bookmark collection with child bookmarks.

See Also

PdfBookmarkEditor::ExtractBookmarks(System::String) method

Extracts the bookmarks with the specified title.

System::SharedPtr<Bookmarks> Aspose::Pdf::Facades::PdfBookmarkEditor::ExtractBookmarks(System::String title)
ParameterTypeDescription
titleSystem::StringExtracted item title.

ReturnValue

Bookmark collection has items with the same title.

See Also