Help Center

CTextRange2.GetTypemethod

Gets the type of text selection.

Windowsmethoddocumented

Syntax

FUNCTION GetType () AS LONG

Return value

The selection type. Can be one of the values in the following table.

Description

Gets the type of text selection.

Reference

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