Graphisoft®

Dialog ManagerVersion: 2.0

RichEdit::GetTextRangeLength

Retrieves the text range length.

long GetTextRangeLength (
    const CharRange &   charRange,
    EOLType             eolType = Default
) const;

Parameters

charRange
Specifies the lower and upper bounds of the range.
eolType
Specifies the end-of-line-char type for the text range, for retrieving the length.

Return Value

The text length (including the zero-terminator), or zero, if an error occurs.