RichEdit.GetWordBreak Method (Typed) | |
Locate a particular type of word break in the rich edit.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD GetWordBreak(
nCharPos AS LONG,
kWordBreakType AS LONG
) AS LONG
public virtual int GetWordBreak(
int nCharPos,
int kWordBreakType
)
Request Example
View SourceParameters
- nCharPos
- Type: Long
The character position from which to find the work break. - kWordBreakType
- Type: Long
One of the following constants representing the type of word break to retrieve:
Return Value
Type:
Long
If
kWordBreakType is REGWB_ISDELIMITER this function returns a logical value that is TRUE if the specified character is a delimiter and FALSE otherwise. If
kWordBreakType is any other value, the function returns a numeric value representing the character position of the word break.
Remarks Constant | Description |
---|
REGWB_ISDELIMITER | Determines whether the specified character is a delimiter. This option causes a logical return value. |
REGWB_LEFT | Finds the nearest character before the specified position that begins a word. |
REGWB_LEFTBREAK | Finds the next word end before the specified position. |
REGWB_MOVEWORDLEFT | Finds the next character that begins a word before the specified position. |
REGWB_RIGHT | Finds the nearest character after the specified position that begins a word. |
REGWB_RIGHTBREAK | Finds the next word end after the specified position. |
REGWB_MOVEWORDRIGHT | Finds the next character that begins a word after the specified position. |
See Also