ITextRange2 ::GetFormattedText2, méthode (tom.h)

Obtient un objet ITextRange2 avec le texte mis en forme de la plage actuelle.

Syntaxe

HRESULT GetFormattedText2(
  [out, retval] ITextRange2 **ppRange
);

Paramètres

[out, retval] ppRange

Type : ITextRange2**

Texte mis en forme.

Valeur retournée

Type : HRESULT

Si la méthode réussit, elle retourne NOERROR. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
Client minimal pris en charge Windows 8 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau uniquement]
Plateforme cible Windows
En-tête tom.h
DLL Msftedit.dll

Voir aussi

ITextRange2

ITextRange2 ::SetFormattedText2