Table of Contents

Method ToggleBookMark

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

ToggleBookMark(int, int)

Sets or removes bookmark with specified index at the specified line.

public virtual void ToggleBookMark(int line, int bookMark)

Parameters

line int

Index of line where to toggle bookmark.

bookMark int

The integer value that specifies an index of the bookmark to toggle.

ToggleBookMark(Point, int)

Sets or removes bookmark with specified index at the specified line.

public virtual void ToggleBookMark(Point position, int bookMark)

Parameters

position Point

The Point value that specifies position of the bookmark (index of char and current line).

bookMark int

The integer value specifying index of the bookmark to toggle.

ToggleBookMark(IBookMark)

Sets or removes bookmark specified by bookMark parameter.

public virtual void ToggleBookMark(IBookMark bookMark)

Parameters

bookMark IBookMark

Specifies bookmark to toggle.

ToggleBookMark(Point, int, string, string, string)

Sets or removes bookmark with specified index at the specified line.

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

Parameters

position Point

The Point value that specifies position of the bookmark (index of char and current line).

bookMark int

The integer value that specifies an index of the bookmark to toggle.

name string

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

description string

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

url string

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

ToggleBookMark(Point, int, string, string, string, int, string, object)

Sets or removes bookmark with specified index at the specified line.

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

Parameters

position Point

The Point value that specifies position of the bookmark (index of char and current line).

bookMark int

The integer value that specifies an index of the bookmark to toggle.

name string

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

description string

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

url string

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

imageIndex int

Specifies ImageIndex property of the bookmark to toggle.

fileName string

Specifies FileName property of the bookmark to toggle.

tag object

Specifies Tag property of the bookmark to toggle.

ToggleBookMark(int)

Sets or removes bookmark with specified index at the current line.

public virtual void ToggleBookMark(int bookMark)

Parameters

bookMark int

The integer value that specifies an index of the bookmark to toggle.

ToggleBookMark()

Sets or removes an unnumbered bookmark on the current line.

public virtual void ToggleBookMark()

ToggleBookMark(Point, int, int, int, string, string, string, object)

Sets or removes bookmark with specified parameters.

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

Parameters

position Point

The Point value that specifies position of the bookmark (index of char and current line).

group int

The integer value that specifies group associated with BookMark to toggle.

bookMark int

The integer value that specifies an index of the bookmark to toggle.

imageIndex int

Specifies ImageIndex property of the bookmark to toggle.

name string

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

description string

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

url string

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

tag object

Specifies Tag property of the bookmark to toggle.

ToggleBookMark(int, int, int, int)

Sets or removes bookmark with specified parameters.

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

Parameters

line int

Specifies line of the bookmark to toggle.

group int

The integer value that specifies group associated with BookMark to toggle.

bookMark int

The integer value that specifies an index of the bookmark to toggle.

imageIndex int

Specifies ImageIndex property of the bookmark to toggle.

ToggleBookMark(Point, int, int, int)

Sets or removes bookmark with specified parameters.

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

Parameters

position Point

The Point value that specifies position of the bookmark (index of char and current line).

group int

The integer value that specifies group associated with BookMark to toggle.

bookMark int

The integer value that specifies an index of the bookmark to toggle.

imageIndex int

Specifies ImageIndex property of the bookmark to toggle.

ToggleBookMark(Point, int, int, int, string, string, string)

Sets or removes bookmark with specified parameters.

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

Parameters

position Point

The Point value that specifies position of the bookmark (index of char and current line).

group int

The integer value that specifies group associated with BookMark to toggle.

bookMark int

The integer value that specifies an index of the bookmark to toggle.

imageIndex int

Specifies ImageIndex property of the bookmark to toggle.

name string

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

description string

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

url string

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

ToggleBookMark(int, int, int)

Sets or removes bookmark with specified parameters.

public virtual void ToggleBookMark(int group, int bookMark, int imageIndex)

Parameters

group int

The integer value that specifies group associated with BookMark to toggle.

bookMark int

The integer value that specifies an index of the bookmark to toggle.

imageIndex int

Specifies ImageIndex property of the bookmark to toggle.