Class MathRadical
Represents a radical (root) element — a square root or n-th root of the base element.
Maps to the OMML m:rad element.
Implements
Inherited Members
Namespace: DRIT.Presentation.Drawing.Mathematics
Assembly: DRIT.Presentation.dll
Syntax
public sealed class MathRadical : MathElementBase, IMathElement
Constructors
MathRadical(IMathElement)
Initializes a new instance of the math radical class.
Declaration
public MathRadical(IMathElement baseElement)
Parameters
| Type | Name | Description |
|---|---|---|
| IMathElement | baseElement | The base element used to construct this element. |
MathRadical(IMathElement, IMathElement)
Initializes a new instance of the math radical class.
Declaration
public MathRadical(IMathElement baseElement, IMathElement degree)
Parameters
| Type | Name | Description |
|---|---|---|
| IMathElement | baseElement | The base element used to construct this element. |
| IMathElement | degree | The degree supplied to this operation. |
Properties
Base
Gets the radicand (the element under the radical sign).
Declaration
public IMathElement Base { get; }
Property Value
| Type | Description |
|---|---|
| IMathElement |
Degree
Gets the degree (index) of the root. When null the
radical represents a square root.
Declaration
public IMathElement Degree { get; }
Property Value
| Type | Description |
|---|---|
| IMathElement |