RichEdit.GetWordBreak Method | |
Locate a particular type of word break in the rich edit.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD GetWordBreak(
nCharPos,
kWordBreakType
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual GetWordBreak(
Usual nCharPos = default,
Usual kWordBreakType = default
)
Request Example
View SourceParameters
- nCharPos (Optional)
- Type: Usual
The character position from which to find the work break. - kWordBreakType (Optional)
- Type: Usual
One of the following constants representing the type of word break to retrieve:
Return Value
Type:
Usual
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