MatrixEquationNode

MatrixEquationNode class

This class specifies the Matrix equation, consisting of one or more elements laid out in one or more rows and one or more columns.

Methods

NameDescription
addChild(equationType)Insert a node of the specified type at the end of the child node list of the current node.
addChild(node)Inserts the specified node at the end of the current node’s list of child nodes.
equals(obj)Determine whether the current equation node is equal to the specified node
getBaseJc()This attribute specifies the justification of the matrix. Text outside of the matrix can be aligned with the bottom, top
getChild(index)Returns the node at the specified index among the children of the current node.
getEquationType()Get the equation type of the current node The value of the property is EquationNodeType integer constant.
getFont()Returns the font of this object.
getLength()Gets the length of the characters.
getParentNode()Specifies the parent node of the current node
getStartIndex()Gets the start index of the characters.
getTextOptions()Returns the text options.
getType()Represents the type of the node. The value of the property is TextNodeType integer constant.
insertAfter(equationType)Inserts the specified node after the current node.
insertBefore(equationType)Inserts the specified node before the current node.
insertChild(index, equationType)Inserts a node of the specified type at the specified index position in the current node’s child node list.
isHidePlaceholder()This attribute specifies the Hide Placeholders property on a matrix. When this property is on, placeholders do not appea
remove()Removes itself from the parent.
removeAllChildren()Removes all the child nodes of the current node.
removeChild(node)Removes the specified node from the current node’s children.
removeChild(index)Removes the node at the specified index from the current node’s children.
setBaseJc()This attribute specifies the justification of the matrix. Text outside of the matrix can be aligned with the bottom, top
setHidePlaceholder()This attribute specifies the Hide Placeholders property on a matrix. When this property is on, placeholders do not appea
setParentNode()Specifies the parent node of the current node
setWordArtStyle(style)Sets the preset WordArt style. Only for the text of shape/chart.
toLaTeX()
toMathML()

addChild(equationType)

Insert a node of the specified type at the end of the child node list of the current node.

ParameterTypeDescription
equationTypeNumberEquationNodeType

Returns: EquationNode — EquationNode If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

addChild(node)

Inserts the specified node at the end of the current node’s list of child nodes.

ParameterTypeDescription
nodeEquationNodeThe specified node

equals(obj)

Determine whether the current equation node is equal to the specified node

ParameterTypeDescription
objObjectThe specified node

Returns: boolean — boolean

getBaseJc()

This attribute specifies the justification of the matrix. Text outside of the matrix can be aligned with the bottom, top, or center of a matrix function. Default, the matrix assumes center justification. The value of the property is EquationVerticalJustificationType integer constant.

getChild(index)

Returns the node at the specified index among the children of the current node.

ParameterTypeDescription
indexNumberIndex of the node

Returns: EquationNode — EquationNode Returns the corresponding node if the specified node exists, otherwise returns null.

getEquationType()

Get the equation type of the current node The value of the property is EquationNodeType integer constant.

getFont()

Returns the font of this object.

getLength()

Gets the length of the characters.

getParentNode()

Specifies the parent node of the current node

getStartIndex()

Gets the start index of the characters.

getTextOptions()

Returns the text options.

getType()

Represents the type of the node. The value of the property is TextNodeType integer constant.

insertAfter(equationType)

Inserts the specified node after the current node.

ParameterTypeDescription
equationTypeNumberEquationNodeType

Returns: EquationNode — EquationNode If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

insertBefore(equationType)

Inserts the specified node before the current node.

ParameterTypeDescription
equationTypeNumberEquationNodeType

Returns: EquationNode — EquationNode If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

insertChild(index, equationType)

Inserts a node of the specified type at the specified index position in the current node’s child node list.

ParameterTypeDescription
indexNumberindex value
equationTypeNumberEquationNodeType

Returns: EquationNode — EquationNode If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

isHidePlaceholder()

This attribute specifies the Hide Placeholders property on a matrix. When this property is on, placeholders do not appear in the matrix.Default, placeholders do appear such that the locations where text can be inserted are made visible.

remove()

Removes itself from the parent.

removeAllChildren()

Removes all the child nodes of the current node.

removeChild(node)

Removes the specified node from the current node’s children.

ParameterTypeDescription
nodeEquationNodeNode to be deleted.

removeChild(index)

Removes the node at the specified index from the current node’s children.

ParameterTypeDescription
indexNumberIndex of the node

setBaseJc()

This attribute specifies the justification of the matrix. Text outside of the matrix can be aligned with the bottom, top, or center of a matrix function. Default, the matrix assumes center justification. The value of the property is EquationVerticalJustificationType integer constant.

setHidePlaceholder()

This attribute specifies the Hide Placeholders property on a matrix. When this property is on, placeholders do not appear in the matrix.Default, placeholders do appear such that the locations where text can be inserted are made visible.

setParentNode()

Specifies the parent node of the current node

setWordArtStyle(style)

Sets the preset WordArt style. Only for the text of shape/chart.

ParameterTypeDescription
styleNumberPresetWordArtStyle

toLaTeX()

toMathML()