Graphisoft®

Dialog ManagerVersion: 2.0

RichEdit::GetTextRange

Retrieves a text range in a rich edit control.

long GetTextRange (
    const CharRange &   charRange,
    char *              text,
    long                size,
    EOLType             eolType = Default
) const;

Parameters

charRange
Specifies the lower and upper bounds of the text range, that is required.
text
Pointer to a previously allocated char buffer. This can be NULL.
size
The size of the previously allocated char buffer. If the text is NULL, this is ignored.
eolType
The end-of-line-char type of the returned text.

Return Value

The text length (including the zero-terminator), or zero, if size is less than the size of the item text, or an error occurs.