Method GetBookMarks
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.dll
GetBookMarks(Point, Point, int, string, IList<IBookMark>)
Finds all items in the bookmark collection located within the specified scope and associated with specified group in the specified document.
public int GetBookMarks(Point startPoint, Point endPoint, int group, string fileName, IList<IBookMark> list)
Parameters
startPointPointThe Point value that specifies start position to search.
endPointPointThe Point value that specifies end position to search.
groupintBookMarkGroup.fileNamestringFile name of document containing bookmarks.
listIList<IBookMark>Represents the collection of the bookmarks located within the specified scope.
Returns
- int
Index of the found bookmark.
GetBookMarks(int, string, IList<IBookMark>)
Finds all items in the bookmark collection associated with specified group in the specified document.
public int GetBookMarks(int group, string fileName, IList<IBookMark> list)
Parameters
groupintBookMarkGroup.fileNamestringFile name of document containing bookmarks.
listIList<IBookMark>Collection of the located bookmarks.
Returns
- int
Count of the found bookmarks.