Class MathLimit
Represents a limit element — a limit drawn above or below the base
element, as used in expressions like lim, min,
max, or sup.
Maps to the OMML m:limLow (lower limit) and
m:limUpp (upper limit) elements.
Implements
Inherited Members
Namespace: DRIT.Presentation.Drawing.Mathematics
Assembly: DRIT.Presentation.dll
Syntax
public sealed class MathLimit : MathElementBase, IMathElement
Constructors
MathLimit(IMathElement, IMathElement)
Initializes a new instance of the math limit class.
Declaration
public MathLimit(IMathElement baseElement, IMathElement limit)
Parameters
| Type | Name | Description |
|---|---|---|
| IMathElement | baseElement | The base element used to construct this element. |
| IMathElement | limit | The limit supplied to this operation. |
MathLimit(IMathElement, IMathElement, MathTopBottomPosition)
Initializes a new instance of the math limit class.
Declaration
public MathLimit(IMathElement baseElement, IMathElement limit, MathTopBottomPosition position)
Parameters
| Type | Name | Description |
|---|---|---|
| IMathElement | baseElement | The base element used to construct this element. |
| IMathElement | limit | The limit supplied to this operation. |
| MathTopBottomPosition | position | The position of the object, in document units. |
Properties
Base
Gets the base element (e.g. "lim").
Declaration
public IMathElement Base { get; }
Property Value
| Type | Description |
|---|---|
| IMathElement |
Limit
Gets the limit element (e.g. "n→∞").
Declaration
public IMathElement Limit { get; }
Property Value
| Type | Description |
|---|---|
| IMathElement |
Position
Gets or sets the position of the limit relative to the base.
Bottom corresponds to a
lower limit (m:limLow);
Top corresponds to an upper
limit (m:limUpp).
Declaration
public MathTopBottomPosition Position { get; set; }
Property Value
| Type | Description |
|---|---|
| MathTopBottomPosition |