Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

LatexMacroDefinition

Namespace OfficeIMO.Latex
Assembly OfficeIMO.Latex
Modifiers sealed

Document-local simple macro definition.

Inheritance

  • Object
  • LatexMacroDefinition

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Properties

public LatexCommand Command { get; } #

Backing new/renew/provide command.

public String Name { get; } #

Defined control sequence without backslash.

public Int32 ParameterCount { get; } #

Required parameter count, including an optional first parameter when defaulted.

public String DefaultValue { get; } #

Optional first-parameter default.

public String Body { get; } #

Unexpanded replacement source.

public Boolean IsSafe { get; } #

True when the body passes the OfficeIMO structural safety policy.