Skip to main content
ITextRange2::GetMathFunctionType method

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

Syntax


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

Parameters

bstr [in]

Type: BSTR

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

pValue [out]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextRange2