• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class MathBox

Represents a box element — an invisible container that groups its base content and can act as an operator emulator or prevent line breaks.

Maps to the OMML m:box element.

Inheritance
object
MathElementBase
MathBox
Implements
IMathElement
Inherited Members
MathElementBase.GetChildren()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Presentation.Drawing.Mathematics
Assembly: DRIT.Presentation.dll
Syntax
public sealed class MathBox : MathElementBase, IMathElement

Constructors

MathBox(IMathElement)

Initializes a new instance of the math box class.

Declaration
public MathBox(IMathElement baseElement)
Parameters
Type Name Description
IMathElement baseElement

The base element used to construct this element.

Properties

Base

Gets the base element contained in the box.

Declaration
public IMathElement Base { get; }
Property Value
Type Description
IMathElement

Diff

Gets or sets whether the box is treated as a differential (affects spacing in integrals).

Declaration
public bool Diff { get; set; }
Property Value
Type Description
bool

NoBreak

Gets or sets whether line breaks are disabled inside the box.

Declaration
public bool NoBreak { get; set; }
Property Value
Type Description
bool

OperatorEmulator

Gets or sets whether the box acts as an operator emulator, meaning it inherits operator-like spacing and line-break behaviour.

Declaration
public bool OperatorEmulator { get; set; }
Property Value
Type Description
bool

Implements

IMathElement
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX