Table of Contents

Method SetForcedMarker

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v10.dll

SetForcedMarker(Point, int, string, string, string, int, string, object)

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

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

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.

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.