Hello again,
so i have been trying to highlight text from a bookmark, so far i have managed to highlight the first word of the bookmark but not the entire selection. This is what I have so far:
BookmarkRangeStart bookmark = this.radRichTextBox1.Document.GetBookmarkByName("Bookmark1");
this.radRichTextBox1.Document.Selection.SelectAnnotationRange(bookmark);
this.radRichTextBox1.Document.GoToBookmark("Bookmark1");
this.radRichTextBox1.ChangeTextHighlightColor(Colors.Green);
Any advice would be great.
Thanks
Marcello
so i have been trying to highlight text from a bookmark, so far i have managed to highlight the first word of the bookmark but not the entire selection. This is what I have so far:
BookmarkRangeStart bookmark = this.radRichTextBox1.Document.GetBookmarkByName("Bookmark1");
this.radRichTextBox1.Document.Selection.SelectAnnotationRange(bookmark);
this.radRichTextBox1.Document.GoToBookmark("Bookmark1");
this.radRichTextBox1.ChangeTextHighlightColor(Colors.Green);
Any advice would be great.
Thanks
Marcello