Table of Contents

Method FindBookMark

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

FindBookMark(int)

When implemented by a class, finds the bookmark with specified Index property within bookmark collection.

IBookMark FindBookMark(int bookMark)

Parameters

bookMark int

Specifies bookmark Index.

Returns

IBookMark

IBookMark object found.

FindBookMark(int, int)

When implemented by a class, finds the bookmark with specified Index in a specific line within bookmark collection.

IBookMark FindBookMark(int bookMark, int line)

Parameters

bookMark int

Specifies bookmark Index.

line int

Specifies line Index.

Returns

IBookMark

IBookMark object found.

FindBookMark(string)

When implemented by a class, finds the bookmark with specified Name property within bookmark collection.

IBookMark FindBookMark(string name)

Parameters

name string

Specifies bookmark name.

Returns

IBookMark

IBookMark object found.

FindBookMark(int, out Point)

When implemented by a class, finds the bookmark with specified Index property within bookmark collection.

bool FindBookMark(int bookMark, out Point position)

Parameters

bookMark int

Specifies bookmark index.

position Point

Receives position(index of character and line) of the found bookmark.

Returns

bool

True if the bookmark successfully found; otherwise false.