Méthode ITextRange2 ::GetDuplicate2 (tom.h)

Obtient un doublon d’un objet de plage.

Syntaxe

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

Paramètres

[out, retval] ppRange

Type : ITextRange2**

Plage dupliquée.

Valeur retournée

Type : HRESULT

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

Remarques

Si cette plage est un objet ITextSelection2 , le doublon retourné est un objet ITextRange2 . Pour plus d’informations, consultez la méthode ITextRange ::FindText .

Configuration requise

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