Table of Contents

Method SetBookMark

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

SetBookMark(int, int)

Sets the bookmark with specified index to the position specified by line parameter.

public virtual void SetBookMark(int line, int bookMark)

Parameters

line int

The integer value that specifies an index of the text line where to set bookmark.

bookMark int

The integer value that specifies BookMark index.

Remarks

If the Bookmark with the same index already exists in the collection, the method removes it before inserting new BookMark to the BookMarks collection.

SetBookMark(Point, int)

Sets the bookmark with specified index to the position specified by Point parameter.

public virtual void SetBookMark(Point position, int bookMark)

Parameters

position Point

Specifies position of the BookMark.

bookMark int

The integer value that specifies BookMark index.

Remarks

If the Bookmark with the same index already exists in the collection, the method removes it before inserting new BookMark to the BookMarks collection.

SetBookMark(IBookMark)

Sets the bookmark specified by bookMark parameter.

public virtual void SetBookMark(IBookMark bookMark)

Parameters

bookMark IBookMark

Specifies bookmark to set.

SetBookMark(Point, int, string, string, string)

Sets the bookmark with specified index, name, description and url to the position specified by Point parameter.

public virtual void SetBookMark(Point position, int bookMark, string name, string description, string url)

Parameters

position Point

Specifies position of the BookMark.

bookMark int

The integer value that specifies BookMark index.

name string

The string value that specifies BookMark name.

description string

The string value that specifies BookMark description.

url string

The string value that specifies BookMark url.

Remarks

If the Bookmark with the same index already exists in the collection, the method removes it before inserting new BookMark to the BookMarks collection.

SetBookMark(Point, int, string, string, string, int, string, object, bool)

Sets the bookmark with specified index, name, description and url to the position specified by Point parameter.

public virtual void SetBookMark(Point position, int bookMark, string name, string description, string url, int imageIndex, string fileName, object tag, bool clear)

Parameters

position Point

Specifies position of the BookMark.

bookMark int

The integer value that specifies BookMark index.

name string

The string value that specifies BookMark name.

description string

The string value that specifies BookMark description.

url string

The string value that specifies BookMark url.

imageIndex int

Specifies ImageIndex property of a new instance.

fileName string

Specifies FileName property of a new instance.

tag object

Specifies Tag property of a new instance.

clear bool

Specifies whether previously found bookmark should be removed.

Remarks

If the Bookmark with the same index already exists in the collection, the method removes it before inserting new BookMark to the BookMarks collection.

SetBookMark(Point, int, int, int, string, string, string, object)

Sets the bookmark with specified parameters.

public virtual void SetBookMark(Point position, int group, int bookMark, int imageIndex, string name, string description, string url, object tag)

Parameters

position Point

Specifies position of the BookMark.

group int

The integer value that specifies group associated with this BookMark.

bookMark int

The integer value that specifies BookMark index.

imageIndex int

The integer value that specifies BookMark imageIndex.

name string

The string value that specifies BookMark name.

description string

The string value that specifies BookMark description.

url string

The string value that specifies url of the bookmark to toggle.

tag object

The Tag property of BookMark.

SetBookMark(int, int, int, int)

Sets the bookmark with specified parameters.

public virtual void SetBookMark(int line, int group, int bookMark, int imageIndex)

Parameters

line int

The integer value that specifies an index of the text line.

group int

The integer value that specifies group associated with this BookMark.

bookMark int

The integer value that specifies BookMark index.

imageIndex int

The integer value that specifies BookMark imageIndex.

SetBookMark(Point, int, int, int)

Sets the bookmark with specified parameters.

public virtual void SetBookMark(Point position, int group, int bookMark, int imageIndex)

Parameters

position Point

Specifies position of the BookMark.

group int

The integer value that specifies group associated with this BookMark.

bookMark int

The integer value that specifies BookMark index.

imageIndex int

The integer value that specifies BookMark imageIndex.

SetBookMark(Point, int, int, int, string, string, string)

Sets the bookmark with specified parameters.

public virtual void SetBookMark(Point position, int group, int bookMark, int imageIndex, string name, string description, string url)

Parameters

position Point

Specifies position of the BookMark.

group int

The integer value that specifies group associated with this BookMark.

bookMark int

The integer value that specifies BookMark index.

imageIndex int

The integer value that specifies BookMark imageIndex.

name string

The string value that specifies BookMark name.

description string

The string value that specifies BookMark description.

url string

The string value that specifies BookMark url.