Help Center

CTextRange2.SetFormattedTextmethod

Sets the formatted text of this range text to the formatted text of the specified range.

Windowsmethoddocumented

Syntax

FUNCTION SetFormattedText (BYVAL pRange AS ITextRange2 PTR) AS HRESULT

Parameters

NameDescription
pRangeThe formatted text to replace this range's text.

Description

Sets the formatted text of this range text to the formatted text of the specified range.

Reference

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