Method SetBookMark
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
intThe integer value that specifies an index of the text line where to set bookmark.
bookMark
intThe 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
PointSpecifies position of the
BookMark
.bookMark
intThe 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
IBookMarkSpecifies 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
PointSpecifies position of the
BookMark
.bookMark
intThe integer value that specifies
BookMark
index.name
stringThe string value that specifies
BookMark
name.description
stringThe string value that specifies
BookMark
description.url
stringThe 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
PointSpecifies position of the
BookMark
.bookMark
intThe integer value that specifies
BookMark
index.name
stringThe string value that specifies
BookMark
name.description
stringThe string value that specifies
BookMark
description.url
stringThe string value that specifies
BookMark
url.imageIndex
intSpecifies
ImageIndex
property of a new instance.fileName
stringSpecifies
FileName
property of a new instance.tag
objectSpecifies
Tag
property of a new instance.clear
boolSpecifies 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
PointSpecifies position of the
BookMark
.group
intThe integer value that specifies group associated with this
BookMark
.bookMark
intThe integer value that specifies
BookMark
index.imageIndex
intThe integer value that specifies
BookMark
imageIndex.name
stringThe string value that specifies
BookMark
name.description
stringThe string value that specifies
BookMark
description.url
stringThe string value that specifies url of the bookmark to toggle.
tag
objectThe
Tag
property ofBookMark
.
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
intThe integer value that specifies an index of the text line.
group
intThe integer value that specifies group associated with this
BookMark
.bookMark
intThe integer value that specifies
BookMark
index.imageIndex
intThe 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
PointSpecifies position of the
BookMark
.group
intThe integer value that specifies group associated with this
BookMark
.bookMark
intThe integer value that specifies
BookMark
index.imageIndex
intThe 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
PointSpecifies position of the
BookMark
.group
intThe integer value that specifies group associated with this
BookMark
.bookMark
intThe integer value that specifies
BookMark
index.imageIndex
intThe integer value that specifies
BookMark
imageIndex.name
stringThe string value that specifies
BookMark
name.description
stringThe string value that specifies
BookMark
description.url
stringThe string value that specifies
BookMark
url.