MathParagraph

MathParagraph class

Mathematical paragraph that is a container for mathematical blocks (IMathBlock)

The MathParagraph type exposes the following members:

Constructors

NameDescription
MathParagraph()Initializes a new instance of the MathParagraph class.
MathParagraph(math_block)Initializes a new instance of the MathParagraph class

Properties

NameDescription
justificationParagraph Justification
Default value: CenteredAsGroup
countGets the number of elements actually contained in the collection.
Read-only
as_i_math_block_collectionAllows to get base IMathBlockCollection interface
IMathBlockCollection
as_i_enumerableAllows to get base IEnumerable interface
list

Indexer

NameDescription
[index]Gets the item at the specified index.
Read-only IMathBlock.

Methods

NameDescription
clear()Removes all elements from the collection.
add(math_block)Adds IMathBlock to the end of collection.
remove(math_block)Removes the first occurrence of a specific object from the collection/>.
contains(math_block)Determines whether the collection contains a specific value.
index_of(math_block)Determines the index of a specific IMathBlock in collection.
insert(index, math_block)Inserts IMathBlock into the collection at the specified index.
remove_at(index)Removes an item at the specified index of the collection.
write_as_math_ml(stream)Saves content of this MathParagraph as MathML

See Also