Table of Contents

Method GetBookMark

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

GetBookMark(int)

When implemented by a class, finds the first item in the bookmark collection located within the specified text line.

int GetBookMark(int line)

Parameters

line int

Index of the text line.

Returns

int

Index of the found bookmark.

GetBookMark(Point, Point)

When implemented by a class, finds the first item in the bookmark collection located within the specified scope.

int GetBookMark(Point startPoint, Point endPoint)

Parameters

startPoint Point

The Point value that specifies start position to search.

endPoint Point

The Point value that specifies end position to search.

Returns

int

Index of the found bookmark.