Table of Contents

Method GetBookMarks

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.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

startPoint Point

The Point value that specifies start position to search.

endPoint Point

The Point value that specifies end position to search.

group int

BookMark Group.

fileName string

File name of document containing bookmarks.

list IList<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

group int

BookMark Group.

fileName string

File name of document containing bookmarks.

list IList<IBookMark>

Collection of the located bookmarks.

Returns

int

Count of the found bookmarks.