[]
Represents a collection of OMathStruct instances.
public class OMathStructCollection : ContentObjectCollection<OMathStruct>, IContentList<OMathStruct>, IReadOnlyList<OMathStruct>, IReadOnlyCollection<OMathStruct>, IEnumerable<OMathStruct>, IEnumerable
Adds a new OMathStruct into the collection at the End location.
public OMathStruct Add(OMathStructType type)
type
OMathStructTypeThe Office Math structure type.
The added OMathStruct instance.
Adds a new OMathAccent to the collection at the End location.
public OMathAccent AddAccent()
The added OMathAccent instance.
Adds a new OMathAccent to the collection at the End location.
public OMathAccent AddAccent(string baseText, string character = null)
baseText
stringThe structure base element text.
character
stringThe structure accent character.
The added OMathAccent instance.
public OMathBar AddBar()
public OMathBar AddBar(string baseText)
baseText
stringThe structure base element text.
Adds a new OMathBorderBox to the collection at the End location.
public OMathBorderBox AddBorderBox()
The added OMathBorderBox instance.
Adds a new OMathBorderBox to the collection at the End location.
public OMathBorderBox AddBorderBox(string baseText)
baseText
stringThe structure base element text.
The added OMathBorderBox instance.
public OMathBox AddBox()
public OMathBox AddBox(string baseText)
baseText
stringThe structure base element text.
Adds a new OMathDelimiter to the collection at the End location.
public OMathDelimiter AddDelimiter()
The added OMathDelimiter instance.
Adds a new OMathDelimiter to the collection at the End location.
public OMathDelimiter AddDelimiter(string[] itemsText, string beginCharacter = null, string endCharacter = null, string separatorCharacter = null)
itemsText
string[]The structure items text array.
beginCharacter
stringThe stricture beginning, or opening character.
endCharacter
stringThe structure ending, or closing character.
separatorCharacter
stringThe structure character that separates items.
The added OMathDelimiter instance.
Adds a new OMathEquationArray to the collection at the End location.
public OMathEquationArray AddEquationArray()
The added OMathEquationArray instance.
Adds a new OMathEquationArray to the collection at the End location.
public OMathEquationArray AddEquationArray(string[] itemsText)
itemsText
string[]The structure items text array.
The added OMathEquationArray instance.
Adds a new OMathFraction to the collection at the End location.
public OMathFraction AddFraction()
The added OMathFraction instance.
Adds a new OMathFraction to the collection at the End location.
public OMathFraction AddFraction(string numeratorText, string denominatorText, OMathFractionType? fractionType)
numeratorText
stringThe structure numerator element text.
denominatorText
stringThe structure denominator element text.
fractionType
OMathFractionType?The fraction type.
The added OMathFraction instance.
Adds a new OMathFunction to the collection at the End location.
public OMathFunction AddFunction()
The added OMathFunction instance.
Adds a new OMathFunction to the collection at the End location.
public OMathFunction AddFunction(string nameText, string argumentText)
nameText
stringThe structure name element text.
argumentText
stringThe structure argument element text.
The added OMathFunction instance.
Adds a new OMathGroupCharacter to the collection at the End location.
public OMathGroupCharacter AddGroupCharacter()
The added OMathGroupCharacter instance.
Adds a new OMathGroupCharacter to the collection at the End location.
public OMathGroupCharacter AddGroupCharacter(string baseText, string character = null)
baseText
stringThe structure base element text.
character
stringThe structure group character.
The added OMathGroupCharacter instance.
Adds a new OMathLimitLower to the collection at the End location.
public OMathLimitLower AddLimitLower()
The added OMathLimitLower instance.
Adds a new OMathLimitLower to the collection at the End location.
public OMathLimitLower AddLimitLower(string baseText, string limitText)
baseText
stringThe structure base element text.
limitText
stringThe structure limit element text.
The added OMathLimitLower instance.
Adds a new OMathLimitUpper into the collection at the End location.
public OMathLimitUpper AddLimitUpper()
The added OMathLimitUpper instance.
Adds a new OMathLimitUpper to the collection at the End location.
public OMathLimitUpper AddLimitUpper(string baseText, string limitText)
baseText
stringThe structure base element text.
limitText
stringThe structure limit element text.
The added OMathLimitUpper instance.
Adds a new OMathMatrix to the collection at the End location.
public OMathMatrix AddMatrix()
The added OMathMatrix instance.
Adds a new OMathMatrix to the collection at the End location.
public OMathMatrix AddMatrix(int rows, int columns)
rows
intCount of rows in the matrix.
columns
intCount of columns in the matrix.
The added OMathMatrix instance.
Adds a new OMathMatrix to the collection at the End location.
public OMathMatrix AddMatrix(int?[,] cellsValue)
cellsValue
int?[,]The structure cells value array.
The added OMathMatrix instance.
Adds a new OMathMatrix to the collection at the End location.
public OMathMatrix AddMatrix(string[,] cellsText)
cellsText
string[,]The structure cells text array.
The added OMathMatrix instance.
public OMathNary AddNary()
public OMathNary AddNary(string baseText, string subscriptText, string superscriptText, string character = null)
baseText
stringThe structure base element text.
subscriptText
stringThe structure subscript element text.
superscriptText
stringThe structure superscript element text.
character
stringThe n-ary character.
Adds a new OMathPhantom to the collection at the End location.
public OMathPhantom AddPhantom()
The added OMathPhantom instance.
Adds a new OMathPhantom to the collection at the End location.
public OMathPhantom AddPhantom(string argumentText, bool smash)
argumentText
stringThe structure argument element text.
smash
boolWhether the argument element is visible but that the height is not taken into account in the spacing of the layout.
The added OMathPhantom instance.
Adds a new OMathPreSubSuperscript to the collection at the End location.
public OMathPreSubSuperscript AddPreSubSuperscript()
The added OMathPreSubSuperscript instance.
Adds a new OMathPreSubSuperscript into the collection at the End location.
public OMathPreSubSuperscript AddPreSubSuperscript(string baseText, string subscriptText, string superscriptText)
baseText
stringThe structure base element text.
subscriptText
stringThe structure subscript element text.
superscriptText
stringThe structure superscript element text.
The added OMathPreSubSuperscript instance.
Adds a new OMathRadical to the collection at the End location.
public OMathRadical AddRadical()
The added OMathRadical instance.
Adds a new OMathRadical into the collection at the End location.
public OMathRadical AddRadical(string radicandText, string degreeText)
radicandText
stringThe structure radicand element text.
degreeText
stringThe structure degree element text.
The added OMathRadical instance.
Adds a new OMathSubscript to the collection at the End location.
public OMathSubscript AddSubscript()
The added OMathSubscript instance.
Adds a new OMathSubscript into the collection at the End location.
public OMathSubscript AddSubscript(string baseText, string subscriptText)
baseText
stringThe structure base element text.
subscriptText
stringThe structure subscript element text.
The added OMathSubscript instance.
Adds a new OMathSubSuperscript to the collection at the End location.
public OMathSubSuperscript AddSubSuperscript()
The added OMathSubSuperscript instance.
Adds a new OMathSubSuperscript into the collection at the End location.
public OMathSubSuperscript AddSubSuperscript(string baseText, string subscriptText, string superscriptText)
baseText
stringThe structure base element text.
subscriptText
stringThe structure subscript element text.
superscriptText
stringThe structure superscript element text.
The added OMathSubSuperscript instance.
Adds a new OMathSuperscript to the collection at the End location.
public OMathSuperscript AddSuperscript()
The added OMathSuperscript instance.
Adds a new OMathSuperscript into the collection at the End location.
public OMathSuperscript AddSuperscript(string baseText, string superscriptText)
baseText
stringThe structure base element text.
superscriptText
stringThe structure superscript element text.
The added OMathSuperscript instance.
Inserts a new OMathStruct into the collection at the specified location.
public OMathStruct Insert(OMathStructType type, InsertLocation location)
type
OMathStructTypeThe Office Math structure type.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathStruct instance.
Inserts a new OMathAccent into the collection at the specified location.
public OMathAccent InsertAccent(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathAccent instance.
Inserts a new OMathAccent into the collection at the specified location.
public OMathAccent InsertAccent(string baseText, string character, InsertLocation location)
baseText
stringThe structure base element text.
character
stringThe structure accent character, can be null.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathAccent instance.
Inserts a new OMathBar into the collection at the specified location.
public OMathBar InsertBar(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a new OMathBar into the collection at the specified location.
public OMathBar InsertBar(string baseText, InsertLocation location)
baseText
stringThe structure base element text.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a new OMathBorderBox into the collection at the specified location.
public OMathBorderBox InsertBorderBox(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathBorderBox instance.
Inserts a new OMathBorderBox into the collection at the specified location.
public OMathBorderBox InsertBorderBox(string baseText, InsertLocation location)
baseText
stringThe structure base element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathBorderBox instance.
Inserts a new OMathBox into the collection at the specified location.
public OMathBox InsertBox(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a new OMathBox into the collection at the specified location.
public OMathBox InsertBox(string baseText, InsertLocation location)
baseText
stringThe structure base element text.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a new OMathDelimiter into the collection at the specified location.
public OMathDelimiter InsertDelimiter(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathDelimiter instance.
Inserts a new OMathDelimiter into the collection at the specified location.
public OMathDelimiter InsertDelimiter(string[] itemsText, InsertLocation location)
itemsText
string[]The structure items text array.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathDelimiter instance.
Inserts a new OMathDelimiter into the collection at the specified location.
public OMathDelimiter InsertDelimiter(string[] itemsText, string beginCharacter, string endCharacter, string separatorCharacter, InsertLocation location)
itemsText
string[]The structure items text array.
beginCharacter
stringThe structure beginning, or opening character, can be null.
endCharacter
stringThe structure ending, or closing character, can be null.
separatorCharacter
stringThe structure character that separates items, can be null.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathDelimiter instance.
Inserts a new OMathEquationArray into the collection at the specified location.
public OMathEquationArray InsertEquationArray(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathEquationArray instance.
Inserts a new OMathEquationArray into the collection at the specified location.
public OMathEquationArray InsertEquationArray(string[] itemsText, InsertLocation location)
itemsText
string[]The structure items text array.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathEquationArray instance.
Inserts a new OMathFraction into the collection at the specified location.
public OMathFraction InsertFraction(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathFraction instance.
Inserts a new OMathFraction into the collection at the specified location.
public OMathFraction InsertFraction(string numeratorText, string denominatorText, OMathFractionType? fractionType, InsertLocation location)
numeratorText
stringThe structure numerator element text.
denominatorText
stringThe structure denominator element text.
fractionType
OMathFractionType?The fraction type, can be null.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathFraction instance.
Inserts a new OMathFunction into the collection at the specified location.
public OMathFunction InsertFunction(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathFunction instance.
Inserts a new OMathFunction into the collection at the specified location.
public OMathFunction InsertFunction(string nameText, string argumentText, InsertLocation location)
nameText
stringThe structure name element text.
argumentText
stringThe structure argument element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathFunction instance.
Inserts a new OMathGroupCharacter into the collection at the specified location.
public OMathGroupCharacter InsertGroupCharacter(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathGroupCharacter instance.
Inserts a new OMathGroupCharacter into the collection at the specified location.
public OMathGroupCharacter InsertGroupCharacter(string baseText, string character, InsertLocation location)
baseText
stringThe structure base element text.
character
stringThe structure group character, can be null.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathGroupCharacter instance.
Inserts a new OMathLimitLower into the collection at the specified location.
public OMathLimitLower InsertLimitLower(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathLimitLower instance.
Inserts a new OMathLimitLower into the collection at the specified location.
public OMathLimitLower InsertLimitLower(string baseText, string limitText, InsertLocation location)
baseText
stringThe structure base element text.
limitText
stringThe structure limit element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathLimitLower instance.
Inserts a new OMathLimitUpper into the collection at the specified location.
public OMathLimitUpper InsertLimitUpper(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathLimitUpper instance.
Inserts a new OMathLimitUpper into the collection at the specified location.
public OMathLimitUpper InsertLimitUpper(string baseText, string limitText, InsertLocation location)
baseText
stringThe structure base element text.
limitText
stringThe structure limit element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathLimitUpper instance.
Inserts a new OMathMatrix into the collection at the specified location.
public OMathMatrix InsertMatrix(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathMatrix instance.
Inserts a new OMathMatrix into the collection at the specified location.
public OMathMatrix InsertMatrix(int rows, int columns, InsertLocation location)
rows
intCount of rows in the matrix.
columns
intCount of columns in the matrix.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathMatrix instance.
Inserts a new OMathMatrix into the collection at the specified location.
public OMathMatrix InsertMatrix(int?[,] cellsValue, InsertLocation location)
cellsValue
int?[,]The structure cells value array.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathMatrix instance.
Inserts a new OMathMatrix into the collection at the specified location.
public OMathMatrix InsertMatrix(string[,] cellsText, InsertLocation location)
cellsText
string[,]The structure cells text array.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathMatrix instance.
Inserts a new OMathNary into the collection at the specified location.
public OMathNary InsertNary(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a new OMathNary into the collection at the specified location.
public OMathNary InsertNary(string baseText, string subscriptText, string superscriptText, string character, InsertLocation location)
baseText
stringThe structure base element text.
subscriptText
stringThe structure subscript element text.
superscriptText
stringThe structure superscript element text.
character
stringThe n-ary character, can be null.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a new OMathPhantom into the collection at the specified location.
public OMathPhantom InsertPhantom(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathPhantom instance.
Inserts a new OMathPhantom into the collection at the specified location.
public OMathPhantom InsertPhantom(string argumentText, bool smash, InsertLocation location)
argumentText
stringThe structure argument element text.
smash
boolWhether the argument element is visible but that the height is not taken into account in the spacing of the layout.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathPhantom instance.
Inserts a new OMathPreSubSuperscript into the collection at the specified location.
public OMathPreSubSuperscript InsertPreSubSuperscript(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathPreSubSuperscript instance.
Inserts a new OMathPreSubSuperscript into the collection at the specified location.
public OMathPreSubSuperscript InsertPreSubSuperscript(string baseText, string subscriptText, string superscriptText, InsertLocation location)
baseText
stringThe structure base element text.
subscriptText
stringThe structure subscript element text.
superscriptText
stringThe structure superscript element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathPreSubSuperscript instance.
Inserts a new OMathRadical into the collection at the specified location.
public OMathRadical InsertRadical(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathRadical instance.
Inserts a new OMathRadical into the collection at the specified location.
public OMathRadical InsertRadical(string radicandText, string degreeText, InsertLocation location)
radicandText
stringThe structure radicand element text.
degreeText
stringThe structure degree element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathRadical instance.
Inserts a new OMathSubscript into the collection at the specified location.
public OMathSubscript InsertSubscript(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathSubscript instance.
Inserts a new OMathSubscript into the collection at the specified location.
public OMathSubscript InsertSubscript(string baseText, string subscriptText, InsertLocation location)
baseText
stringThe structure base element text.
subscriptText
stringThe structure subscript element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathSubscript instance.
Inserts a new OMathSubSuperscript into the collection at the specified location.
public OMathSubSuperscript InsertSubSuperscript(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathSubSuperscript instance.
Inserts a new OMathSubSuperscript into the collection at the specified location.
public OMathSubSuperscript InsertSubSuperscript(string baseText, string subscriptText, string superscriptText, InsertLocation location)
baseText
stringThe structure base element text.
subscriptText
stringThe structure subscript element text.
superscriptText
stringThe structure superscript element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathSubSuperscript instance.
Inserts a new OMathSuperscript into the collection at the specified location.
public OMathSuperscript InsertSuperscript(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathSuperscript instance.
Inserts a new OMathSuperscript into the collection at the specified location.
public OMathSuperscript InsertSuperscript(string baseText, string superscriptText, InsertLocation location)
baseText
stringThe structure base element text.
superscriptText
stringThe structure superscript element text.
location
InsertLocationThe target InsertLocation for the insertion.
The inserted OMathSuperscript instance.