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

Obtient un objet ITextFont2 avec les attributs de caractère de la plage actuelle.

Syntaxe

HRESULT GetFont2(
  [out, retval] ITextFont2 **ppFont
);

Paramètres

[out, retval] ppFont

Type : ITextFont2**

Objet ITextFont2 .

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 ::SetFont2