Returns an array of Menu
Introduced: 3.0.
public WPF.Proofing.MenuItem[] GetMenuItems(object misspelledWord, object textControl, int maxSuggestions);
Public Function GetMenuItems(misspelledWord As Object, textControl As Object, maxSuggestions As Integer) As WPF.Proofing.MenuItem()
public WPF.Proofing.MenuItem[] GetMenuItems(Proofing.IncorrectWord incorrectWord, string sourceText, int maxSuggestions);
Public Function GetMenuItems(incorrectWord As Proofing.IncorrectWord, sourceText As String, maxSuggestions As Integer) As WPF.Proofing.MenuItem()
Parameter | Description |
---|---|
misspelled |
The misspelled word of type TXText |
text |
The control of type TXText |
incorrect |
The misspelled word of type Incorrect |
source |
The text that contains the misspelled word. |
max |
The maximum number of suggestions that should be created for the incorrect word. |
The array of type WPF.