Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ITextDocument2::GetMathProperties method (tom.h)
Gets the math properties for the document.
Syntax
HRESULT GetMathProperties(
[out] long *pOptions
);
Parameters
[out] pOptions
Type: long*
A combination of the following math properties.
| Property | Meaning |
|---|---|
| Display-mode alignment mask. | |
| Center (default) alignment. | |
| Left alignment. | |
| Right alignment. | |
| Display-mode integral limits location. | |
| Display-mode nested fraction script size. | |
| Math-paragraph n-ary grow. | |
| Empty arguments display mask. | |
| Automatically use a dotted square to denote empty arguments, if necessary. | |
| Always use a dotted square to denote empty arguments.. | |
| Don't denote empty arguments. | |
| Display the underscore (_) and caret (^) as themselves. | |
| Style mask for the tomMathDocDiffUpright, tomMathDocDiffItalic, tomMathDocDiffOpenItalic options. | |
| Use italic (default) for math differentials. | |
| Use an upright font for math differentials. | |
| Use open italic (default) for math differentials. | |
| Math-paragraph non-integral n-ary limits location. | |
| Math-paragraph spacing defaults. | |
| Enable right-to-left (RTL) math zones in RTL paragraphs. | |
| Equation line break mask. | |
| Break before binary/relational operator. | |
| Break after binary/relational operator. | |
| Duplicate binary/relational before/after. | |
| Duplicate mask for minus operator. | |
| - - (minus on both lines). | |
| + - | |
| - + |
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
Feedback
Was this page helpful?
