Method SetBookMark
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.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
lineintThe integer value that specifies an index of the text line where to set bookmark.
bookMarkintThe integer value that specifies
BookMarkindex.
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
positionPointSpecifies position of the
BookMark.bookMarkintThe integer value that specifies
BookMarkindex.
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
bookMarkIBookMarkSpecifies 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
positionPointSpecifies position of the
BookMark.bookMarkintThe integer value that specifies
BookMarkindex.namestringThe string value that specifies
BookMarkname.descriptionstringThe string value that specifies
BookMarkdescription.urlstringThe string value that specifies
BookMarkurl.
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
positionPointSpecifies position of the
BookMark.bookMarkintThe integer value that specifies
BookMarkindex.namestringThe string value that specifies
BookMarkname.descriptionstringThe string value that specifies
BookMarkdescription.urlstringThe string value that specifies
BookMarkurl.imageIndexintSpecifies
ImageIndexproperty of a new instance.fileNamestringSpecifies
FileNameproperty of a new instance.tagobjectSpecifies
Tagproperty of a new instance.clearboolSpecifies 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
positionPointSpecifies position of the
BookMark.groupintThe integer value that specifies group associated with this
BookMark.bookMarkintThe integer value that specifies
BookMarkindex.imageIndexintThe integer value that specifies
BookMarkimageIndex.namestringThe string value that specifies
BookMarkname.descriptionstringThe string value that specifies
BookMarkdescription.urlstringThe string value that specifies url of the bookmark to toggle.
tagobjectThe
Tagproperty 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
lineintThe integer value that specifies an index of the text line.
groupintThe integer value that specifies group associated with this
BookMark.bookMarkintThe integer value that specifies
BookMarkindex.imageIndexintThe integer value that specifies
BookMarkimageIndex.
SetBookMark(Point, int, int, int)
Sets the bookmark with specified parameters.
public virtual void SetBookMark(Point position, int group, int bookMark, int imageIndex)
Parameters
positionPointSpecifies position of the
BookMark.groupintThe integer value that specifies group associated with this
BookMark.bookMarkintThe integer value that specifies
BookMarkindex.imageIndexintThe integer value that specifies
BookMarkimageIndex.
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
positionPointSpecifies position of the
BookMark.groupintThe integer value that specifies group associated with this
BookMark.bookMarkintThe integer value that specifies
BookMarkindex.imageIndexintThe integer value that specifies
BookMarkimageIndex.namestringThe string value that specifies
BookMarkname.descriptionstringThe string value that specifies
BookMarkdescription.urlstringThe string value that specifies
BookMarkurl.