ITextDocument2::GetMathProperties method

Gets the math properties for the document.

Syntax


HRESULT GetMathProperties(
  [out]  long *pOptions
);

Parameters

pOptions [out]

Type: long*

A combination of the following math properties.

PropertyMeaning
tomMathDispAlignMask

Display-mode alignment mask.

tomMathDispAlignCenter

Center (default) alignment.

tomMathDispAlignLeft

Left alignment.

tomMathDispAlignRight

Right alignment.

tomMathDispIntUnderOver

Display-mode integral limits location.

tomMathDispFracTeX

Display-mode nested fraction script size.

tomMathDispNaryGrow

Math-paragraph n-ary grow.

tomMathDocEmptyArgMask

Empty arguments display mask.

tomMathDocEmptyArgAuto

Automatically use a dotted square to denote empty arguments, if necessary.

tomMathDocEmptyArgAlways

Always use a dotted square to denote empty arguments..

tomMathDocEmptyArgNever

Don't denote empty arguments.

tomMathDocSbSpOpUnchanged

Display the underscore (_) and caret (^) as themselves.

tomMathDocDiffMask

Style mask for the tomMathDocDiffUpright, tomMathDocDiffItalic, tomMathDocDiffOpenItalic options.

tomMathDocDiffItalic

Use italic (default) for math differentials.

tomMathDocDiffUpright

Use an upright font for math differentials.

tomMathDocDiffOpenItalic

Use open italic (default) for math differentials.

tomMathDispNarySubSup

Math-paragraph non-integral n-ary limits location.

tomMathDispDef

Math-paragraph spacing defaults.

tomMathEnableRtl

Enable right-to-left (RTL) math zones in RTL paragraphs.

tomMathBrkBinMask

Equation line break mask.

tomMathBrkBinBefore

Break before binary/relational operator.

tomMathBrkBinAfter

Break after binary/relational operator.

tomMathBrkBinDup

Duplicate binary/relational before/after.

tomMathBrkBinSubMask

Duplicate mask for minus operator.

tomMathBrkBinSubMM

- - (minus on both lines).

tomMathBrkBinSubPM

+ -

tomMathBrkBinSubMP

- +

 

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

ITextDocument2
ITextDocument2::GetProperty
ITextDocument2::SetMathProperties

 

 

Community Additions

ADD
Show:
© 2014 Microsoft