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

Récupère le type de fonction mathématique associé au nom de la fonction mathématique spécifié.

Syntaxe

HRESULT GetMathFunctionType(
  [in]  BSTR bstr,
  [out] long *pValue
);

Paramètres

[in] bstr

Type : BSTR

Nom de la fonction mathématique qui est vérifié pour déterminer le type de fonction mathématique.

[out] pValue

Type : long*

Type de fonction mathématique du nom de fonction spécifié par bstr. Il peut avoir l’une des valeurs suivantes.

tomFunctionTypeNone

tomFunctionTypeTakesArg

tomFunctionTypeTakesLim

tomFunctionTypeTakesLim2

tomFunctionTypeIsLim

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