Class MathBar
Represents a bar element — a horizontal line drawn above or below the base element (overbar or underbar).
Maps to the OMML m:bar element.
Implements
Inherited Members
Namespace: DRIT.Presentation.Drawing.Mathematics
Assembly: DRIT.Presentation.dll
Syntax
public sealed class MathBar : MathElementBase, IMathElement
Constructors
MathBar(IMathElement)
Initializes a new instance of the math bar class.
Declaration
public MathBar(IMathElement baseElement)
Parameters
| Type | Name | Description |
|---|---|---|
| IMathElement | baseElement | The base element used to construct this element. |
Properties
Base
Gets the base element over/under which the bar is drawn.
Declaration
public IMathElement Base { get; }
Property Value
| Type | Description |
|---|---|
| IMathElement |
Position
Gets or sets the position of the bar relative to the base. Default is Top (overbar).
Declaration
public MathTopBottomPosition Position { get; set; }
Property Value
| Type | Description |
|---|---|
| MathTopBottomPosition |