MathBlock Class

Specifies an instance of mathematical text that contained within a MathParagraph and starts on its own line. All math zones, including equations, expressions, arrays of equations or expressions, and formulas are represented by math block.
Inheritance Hierarchy
SystemObject
  Aspose.Slides.MathTextMathElementBase
    Aspose.Slides.MathTextMathBlock

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
public sealed class MathBlock : MathElementBase, 
	IMathBlock, IMathElementCollection, IEnumerable<IMathElement>, IEnumerable, 
	IMathElement

The MathBlock type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleMathBlock
Initializes a new instance of the MathBlock class.
Public methodCode exampleMathBlock(IMathElement)
Creates a new mathematical block and puts specified element in it
Public methodCode exampleMathBlock(IEnumerableIMathElement)
Creates a new mathematical block and puts specified elements in it
Properties
  NameDescription
Public propertyCode exampleCount
Gets the number of child math elements actually contained in the collection. Read-only Int32.
Public propertyIsReadOnly
Returns false because child elements collection can be modified.
Public propertyCode exampleItem
Gets or sets IMathElement at the specified index.
Methods
  NameDescription
Public methodCode exampleAccent
Sets an accent mark (a character on the top of this element)
(Inherited from MathElementBase.)
Public methodCode exampleAdd
Adds a math element to the end of the collection.
Public methodCode exampleAsArgumentOfFunction(String)
Takes specified function using this instance as the argument
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(IMathElement)
Takes specified function using this instance as the argument
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(MathFunctionsOfOneArgument)
Takes specified function using this instance as the argument
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)
Takes specified function using this instance as the argument and specified additional argument
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(MathFunctionsOfTwoArguments, String)
Takes specified function using this instance as the argument and specified additional argument
(Inherited from MathElementBase.)
Public methodCode exampleClear
Removes all elements from the collection.
Public methodCode exampleContains
Determines whether the collection contains a specific value.
Public methodCode exampleCopyTo
Copy to specified array.
Public methodCode exampleDelimit
Delimits child elements with separator character (without the brackets)
Public methodCode exampleDivide(String)
Creates a fraction with this numerator and specified denominator
(Inherited from MathElementBase.)
Public methodCode exampleDivide(IMathElement)
Creates a fraction with this numerator and specified denominator
(Inherited from MathElementBase.)
Public methodCode exampleDivide(String, MathFractionTypes)
Creates a fraction of the specified type with this numerator and specified denominator
(Inherited from MathElementBase.)
Public methodCode exampleDivide(IMathElement, MathFractionTypes)
Creates a fraction of the specified type with this numerator and specified denominator
(Inherited from MathElementBase.)
Public methodCode exampleEnclose
Encloses a math element in parenthesis
(Inherited from MathElementBase.)
Public methodCode exampleEnclose(Char, Char)
Encloses child elements of this block in specified characters such as parenthesis or another characters as framing
(Overrides MathElementBaseEnclose(Char, Char).)
Public methodCode exampleEnclose(Char, Char, Char)
Encloses child elements of this block in specified characters such as parenthesis or another as framing and delimit with a separator character
Public methodEquals (Inherited from Object.)
Public methodCode exampleFunction(String)
Takes a function of an argument using this instance as the function name
(Inherited from MathElementBase.)
Public methodCode exampleFunction(IMathElement)
Takes a function of an argument using this instance as the function name
(Inherited from MathElementBase.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleGroup
Places this element in a group using a bottom curly bracket
(Inherited from MathElementBase.)
Public methodCode exampleGroup(Char, MathTopBotPositions, MathTopBotPositions)
Places this element in a group using a grouping character such as bottom curly bracket or another
(Inherited from MathElementBase.)
Public methodCode exampleIndexOf
Determines the index of a specific math element in collection.
Public methodCode exampleInsert
Inserts a MathElement into the collection at the specified index.
Public methodCode exampleIntegral(MathIntegralTypes)
Takes the integral without limits
(Inherited from MathElementBase.)
Public methodCode exampleIntegral(MathIntegralTypes, IMathElement, IMathElement)
Takes the integral
(Inherited from MathElementBase.)
Public methodCode exampleIntegral(MathIntegralTypes, String, String)
Takes the integral
(Inherited from MathElementBase.)
Public methodCode exampleIntegral(MathIntegralTypes, IMathElement, IMathElement, MathLimitLocations)
Takes the integral
(Inherited from MathElementBase.)
Public methodCode exampleIntegral(MathIntegralTypes, String, String, MathLimitLocations)
Takes the integral
(Inherited from MathElementBase.)
Public methodCode exampleJoin(String)
Joins a mathematical text with this mathematical block
(Overrides MathElementBaseJoin(String).)
Public methodCode exampleJoin(IMathElement)
Joins a mathematical element with this mathematical block
(Overrides MathElementBaseJoin(IMathElement).)
Public methodCode exampleJoinBlock
Joins another mathematical block with this one
Public methodCode exampleNary(MathNaryOperatorTypes, IMathElement, IMathElement)
Creates a N-ary operator
(Inherited from MathElementBase.)
Public methodCode exampleNary(MathNaryOperatorTypes, String, String)
Creates a N-ary operator
(Inherited from MathElementBase.)
Public methodCode exampleOverbar
Sets a bar on the top of this element
(Inherited from MathElementBase.)
Public methodCode exampleRadical(String)
Specifies the mathematical root of the given degree from the specified argument.
(Inherited from MathElementBase.)
Public methodCode exampleRadical(IMathElement)
Specifies the mathematical root of the given degree from the specified argument.
(Inherited from MathElementBase.)
Public methodCode exampleRemove
Removes the first occurrence of a specific object from the collection.
Public methodCode exampleRemoveAt
Removes the element at the specified index of the collection.
Public methodCode exampleSetLowerLimit(String)
Takes lower limit
(Inherited from MathElementBase.)
Public methodCode exampleSetLowerLimit(IMathElement)
Takes lower limit
(Inherited from MathElementBase.)
Public methodCode exampleSetSubscript(String)
Creates subscript
(Inherited from MathElementBase.)
Public methodCode exampleSetSubscript(IMathElement)
Creates subscript
(Inherited from MathElementBase.)
Public methodCode exampleSetSubSuperscriptOnTheLeft(String, String)
Creates subscript and superscript on the left
(Inherited from MathElementBase.)
Public methodCode exampleSetSubSuperscriptOnTheLeft(IMathElement, IMathElement)
Creates subscript and superscript on the left
(Inherited from MathElementBase.)
Public methodCode exampleSetSubSuperscriptOnTheRight(String, String)
Creates subscript and superscript on the right
(Inherited from MathElementBase.)
Public methodCode exampleSetSubSuperscriptOnTheRight(IMathElement, IMathElement)
Creates subscript and superscript on the right
(Inherited from MathElementBase.)
Public methodCode exampleSetSuperscript(String)
Creates superscript
(Inherited from MathElementBase.)
Public methodCode exampleSetSuperscript(IMathElement)
Creates superscript
(Inherited from MathElementBase.)
Public methodCode exampleSetUpperLimit(String)
Takes upper limit
(Inherited from MathElementBase.)
Public methodCode exampleSetUpperLimit(IMathElement)
Takes upper limit
(Inherited from MathElementBase.)
Public methodCode exampleToBorderBox
Places this element in a border-box
(Inherited from MathElementBase.)
Public methodCode exampleToBorderBox(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Places this element in a border-box
(Inherited from MathElementBase.)
Public methodCode exampleToBox
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.
(Inherited from MathElementBase.)
Public methodCode exampleToMathArray
Puts child elements in a vertical array
(Overrides MathElementBaseToMathArray.)
Public methodToString (Inherited from Object.)
Public methodCode exampleUnderbar
Sets a bar on the bottom of this element
(Inherited from MathElementBase.)
Public methodWriteAsMathMl
Saves content of this MathBlock as MathML
Examples
Example:
[C#]
MathBlock mathBlock = new MathBlock();
See Also