Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the bookmark collection.
Removes the specified bookmark.
Namespace: Apitron.PDF.Kit.Interactive.Navigation.DocumentLevel
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
Parameters
- bookmark
- Type: Apitron.PDF.Kit.Interactive.Navigation.DocumentLevelBookmark
The bookmark. - removeRecursive (Optional)
- Type: SystemBoolean
if set to true [remove recursive].
Return Value
Type: Booleantrue if item is successfully removed; otherwise, false. This method also returns false if item was not found in the bookmark collection.
Examples
C#
FixedDocument document = new FixedDocument(); Bookmark bookmark = document.Bookmarks; // Get list of childs IList <Bookmark> bookmarks = bookmark.GetChildren(); Bookmark bookmark1 = bookmarks[2]; // remove 3rd child bookmark from document bookmark collection bookmark.Remove( bookmark1 );
See Also