Method FindBookMark
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
FindBookMark(int, int, int, string)
Locates the bookmark with specified index within the specified line in the specified document.
public IBookMark FindBookMark(int line, int group, int bookMark, string fileName)
Parameters
line
intThe integer value that specifies an index of the text line in where to locate bookmark.
group
intSpecifies bookmark group.
bookMark
intThe integer value that specifies
Index
of the bookmark to find.fileName
stringFile name of document containing bookmarks.
Returns
- IBookMark
IBookMark
object found.
FindBookMark(int, string)
Locates the bookmark with specified index in the specified document.
public IBookMark FindBookMark(int bookMark, string fileName)
Parameters
bookMark
intThe integer value that specifies an index of the bookmark to find.
fileName
stringFile name of document containing bookmarks.
Returns
- IBookMark
IBookmark object if the bookmarks was found; otherwise null.
FindBookMark(int, int, string)
Locates the bookmark within the specified line in the specified document.
public IBookMark FindBookMark(int line, int group, string fileName)
Parameters
line
intThe integer value that specifies an index of the text line in where to locate bookmark.
group
intSpecifies bookmark group.
fileName
stringFile name of document containing bookmarks.
Returns
- IBookMark
IBookMark
object found.
FindBookMark(string, string)
Locates the bookmark with specified Name in the specified document.
public IBookMark FindBookMark(string name, string fileName)
Parameters
name
stringName of the bookmark to find.
fileName
stringFile name of document containing bookmarks.
Returns
- IBookMark
IBookmark object if the bookmarks was found; otherwise null.