![]() Using (RichEditDocumentServer wordProcessor = new RichEditDocumentServer())ĭocument document = wordProcessor.Document ĭ() ![]() 'Insert the hyperlink anchored to the created bookmark:ĭim foundRanges() As DocumentRange = document.FindAll("To the Top", SearchOptions.CaseSensitive) ![]() Insert the hyperlink anchored to the created bookmark:ĭocumentRange foundRanges = document.FindAll("To the Top", SearchOptions.CaseSensitive) ĭim pos As DocumentPosition = ĭ(document.CreateRange(pos, 1), "Top") The code snippet below shows how to specify these properties in code:ĭocumentPosition pos = ĭ(document.CreateRange(pos, 1), "Top") Disable/enable automatic URI correction ( HyperlinkOptions.EnableUriCorrection).Show/hide the hyperlink tooltip ( HyperlinkOptions.ShowToolTip).Change modifier flags required to activate a hyperlink ( HyperlinkOptions.ModifierKeys).Use the HyperlinkOptions class properties to complete the following tasks: 'Set the URI and the tooltip for the created hyperlinkĭocument.Hyperlinks(0).ToolTip = "WinForms Rich Text Editor" 'Find the specific text string in a documentĭim foundRanges() As DocumentRange = document.FindAll("DevExpress WinForms Rich Text Editor", SearchOptions.CaseSensitive)ĭ(foundRanges(0)) Set the URI and the tooltip for the created hyperlinkĭ = "WinForms Rich Text Editor" ĭim document As Document = richEditControl1.Document Find the specific text string in a documentĭocumentRange foundRanges = document.FindAll("DevExpress WinForms Rich Text Editor",ĭ(foundRanges) Document document = richEditControl1.Document
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |