MathDelimiter

MathDelimiter class

Specifies the delimiter object, consisting of opening and closing characters (such as parentheses, braces, brackets, and vertical bars), and one or more mathematical elements inside, separated by a specified character. Examples: (𝑥2); [𝑥2|𝑦2]

public sealed class MathDelimiter : MathElementBase, IMathDelimiter

Constructors

NameDescription
MathDelimiter(IMathElement)Initializes MathDelimiter with the specified element as single base argument

Properties

NameDescription
Arguments { get; }One or more mathematical elements separated by delimiter characters
BeginningCharacter { get; set; }Delimiter Beginning Character specifies the beginning, or opening, delimiter character. Mathematical delimiters are enclosing characters such as parentheses, brackets, and braces. The default: ‘(’.
DelimiterShape { get; set; }Specifies the shape of delimiters in the delimiter object. When is MathDelimiterShape.Centered, delimiters are centered around the math axis of the mathematical text and still be made to fit the entire height of their contents. When is MathDelimiterShape.Match, their height and shape are altered to exactly match their contents.
EndingCharacter { get; set; }Delimiter Ending Character specifies the ending, or closing, delimiter character. Mathematical delimiters are enclosing characters such as parentheses, brackets, and braces. The default: ‘)’.
GrowToMatchOperandHeight { get; set; }Specifies the growth of BeginningCharacter, SeparatorCharacter, EndingCharacter When true, the delimiters grows vertically to match its operand height. The default value is true
SeparatorCharacter { get; set; }Delimiter Separator Character specifies the character that separates arguments in the delimiter object. The default: ‘|’.

Methods

NameDescription
Accent(char)Sets an accent mark (a character on the top of this element)
AsArgumentOfFunction(IMathElement)Takes specified function using this instance as the argument
AsArgumentOfFunction(MathFunctionsOfOneArgument)Takes specified function using this instance as the argument
AsArgumentOfFunction(string)Takes specified function using this instance as the argument
AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)Takes specified function using this instance as the argument and specified additional argument
AsArgumentOfFunction(MathFunctionsOfTwoArguments, string)Takes specified function using this instance as the argument and specified additional argument
Delimit(char)Delimits arguments using the specified delimiter character
Divide(IMathElement)Creates a fraction with this numerator and specified denominator
Divide(string)Creates a fraction with this numerator and specified denominator
Divide(IMathElement, MathFractionTypes)Creates a fraction of the specified type with this numerator and specified denominator
Divide(string, MathFractionTypes)Creates a fraction of the specified type with this numerator and specified denominator
Enclose()Encloses a math element in parenthesis
override Enclose(char, char)Encloses a math element in specified characters such as parenthesis or another characters as framing
Function(IMathElement)Takes a function of an argument using this instance as the function name
Function(string)Takes a function of an argument using this instance as the function name
GetChildren()Get children elements
Group()Places this element in a group using a bottom curly bracket
Group(char, MathTopBotPositions, MathTopBotPositions)Places this element in a group using a grouping character such as bottom curly bracket or another
Integral(MathIntegralTypes)Takes the integral without limits
Integral(MathIntegralTypes, IMathElement, IMathElement)Takes the integral
Integral(MathIntegralTypes, string, string)Takes the integral
Integral(MathIntegralTypes, IMathElement, IMathElement, MathLimitLocations)Takes the integral
Integral(MathIntegralTypes, string, string, MathLimitLocations)Takes the integral
virtual Join(IMathElement)Joins a mathematical element and forms a mathematical block
virtual Join(string)Joins a mathematical text and forms a mathematical block
Nary(MathNaryOperatorTypes, IMathElement, IMathElement)Creates a N-ary operator
Nary(MathNaryOperatorTypes, string, string)Creates a N-ary operator
Overbar()Sets a bar on the top of this element
Radical(IMathElement)Specifies the mathematical root of the given degree from the specified argument.
Radical(string)Specifies the mathematical root of the given degree from the specified argument.
SetLowerLimit(IMathElement)Takes lower limit
SetLowerLimit(string)Takes lower limit
SetSubscript(IMathElement)Creates subscript
SetSubscript(string)Creates subscript
SetSubSuperscriptOnTheLeft(IMathElement, IMathElement)Creates subscript and superscript on the left
SetSubSuperscriptOnTheLeft(string, string)Creates subscript and superscript on the left
SetSubSuperscriptOnTheRight(IMathElement, IMathElement)Creates subscript and superscript on the right
SetSubSuperscriptOnTheRight(string, string)Creates subscript and superscript on the right
SetSuperscript(IMathElement)Creates superscript
SetSuperscript(string)Creates superscript
SetUpperLimit(IMathElement)Takes upper limit
SetUpperLimit(string)Takes upper limit
ToBorderBox()Places this element in a border-box
ToBorderBox(bool, bool, bool, bool, bool, bool, bool, bool)Places this element in a border-box
ToBox()Places this element in a non-visual box (logical grouping) which is used to group components of an equation or other instance of mathematical text. A boxed object can (for example) serve as an operator emulator with or without an alignment point, serve as a line break point, or be grouped such as not to allow line breaks within.
virtual ToMathArray()Puts in a vertical array
Underbar()Sets a bar on the bottom of this element

Examples

Example:

[C#]
IMathElement element = new MathematicalText("x");
MathDelimiter delimiter = new MathDelimiter(element);

See Also