Method GetBookMarks
GetBookMarks(Point, Point, IList<IBookMark>)
Finds all bookmarks in the BookMarks collection located within the specified range.
public virtual int GetBookMarks(Point startPoint, Point endPoint, IList<IBookMark> list)
Parameters
startPointPointThe Point value that specifies start position to find.
endPointPointThe Point value that specifies end position to find.
listIList<IBookMark>Represents the collection of the bookmarks located within the specified range.
Returns
- int
The number of the bookmarks located within the specified range.
Remarks
The X-coordinates of the startPoint and endPoint structures represents the position within the text line. The Y-coordinates represents the index of the text line.
GetBookMarks(IList<IBookMark>)
Finds all items in the bookmark collection.
public virtual int GetBookMarks(IList<IBookMark> list)
Parameters
listIList<IBookMark>Represents the collection of the bookmarks located within the specified scope.
Returns
- int
Index of the located bookmarks.
GetBookMarks(Point, Point, int, IList<IBookMark>)
Finds all items in the bookmark collection located within the specified scope and associated with specified group.
public virtual int GetBookMarks(Point startPoint, Point endPoint, int group, IList<IBookMark> list)
Parameters
startPointPointThe Point value that specifies start position to search.
endPointPointThe Point value that specifies end position to search.
groupintBookMarkGroup.listIList<IBookMark>Represents the collection of the bookmarks located within the specified scope.
Returns
- int
Index of the found bookmark.
GetBookMarks(int, IList<IBookMark>)
Finds all items in the bookmark collection associated with specified group.
public virtual int GetBookMarks(int group, IList<IBookMark> list)
Parameters
Returns
- int
Count of the found bookmarks.