Help Center

CTextRange2.Findmethod

Searches for math inline functions in text as specified by a source range.

Windowsmethoddocumented

Syntax

FUNCTION Find (BYVAL pRange AS ITextRange2 PTR, BYVAL Count AS LONG, BYVAL Flags AS LONG) AS LONG

Parameters

NameDescription
pRangeThe formatted text to find in the range's text.
CountThe number of characters to search through.
FlagsFlags that control the search as defined for FindText.

Return value

A count of the number of characters bypassed.

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Description

Searches for math inline functions in text as specified by a source range.

Reference

  • Defined in AfxNova/CTextRange2.inc:979
  • Documented in Windows/WIndows Controls/RichEdit/CTextRange2 Class.md
  • Topic: CTextRange2 Class