ITextDocument2::SetMathProperties method (tom.h)

Specifies the math properties to use for the document.

Syntax

HRESULT SetMathProperties(
  [in] long Options,
  [in] long Mask
);

Parameters

[in] Options

Type: long

The math properties to set. For a list of possible properties, see GetMathProperties.

[in] Mask

Type: long

The math mask. For a list of possible masks, see GetMathProperties

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

ITextDocument2

ITextDocument2::GetMathProperties