ITextRange2::GetMathFunctionType method (tom.h)

Retrieves the math function type associated with the specified math function name.

Syntax

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

Parameters

[in] bstr

Type: BSTR

The math function name that is checked to determine the math function type.

[out] pValue

Type: long*

The math function type of the function name specified by bstr. It can be one of the following values.

tomFunctionTypeNone

tomFunctionTypeTakesArg

tomFunctionTypeTakesLim

tomFunctionTypeTakesLim2

tomFunctionTypeIsLim

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

ITextRange2