• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class OfficeMathCollection

Contains office math objects belonging to a paragraph.

Inheritance
object
OfficeMathCollection
Implements
IList<OfficeMath>
ICollection<OfficeMath>
IEnumerable<OfficeMath>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class OfficeMathCollection : IList<OfficeMath>, ICollection<OfficeMath>, IEnumerable<OfficeMath>, IEnumerable

Properties

Count

Gets the number of office math objects in the collection.

Declaration
public int Count { get; }
Property Value
Type Description
int

IsReadOnly

Gets a value indicating whether the collection is read-only.

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
bool

this[int]

Gets or sets an office math object by index.

Declaration
public OfficeMath this[int index] { get; set; }
Parameters
Type Name Description
int index

The zero-based collection index.

Property Value
Type Description
OfficeMath

Methods

Add(OfficeMath)

Adds an office math object to the end of the collection.

Declaration
public void Add(OfficeMath item)
Parameters
Type Name Description
OfficeMath item

The object to add.

Clear()

Removes all office math objects from the collection.

Declaration
public void Clear()

Contains(OfficeMath)

Determines whether the collection contains an object.

Declaration
public bool Contains(OfficeMath item)
Parameters
Type Name Description
OfficeMath item

The object to find.

Returns
Type Description
bool

true when the object is present.

CopyTo(OfficeMath[], int)

Copies the collection to an array.

Declaration
public void CopyTo(OfficeMath[] array, int arrayIndex)
Parameters
Type Name Description
OfficeMath[] array

The destination array.

int arrayIndex

The destination starting index.

GetEnumerator()

Returns an enumerator for the collection.

Declaration
public IEnumerator<OfficeMath> GetEnumerator()
Returns
Type Description
IEnumerator<OfficeMath>

The collection enumerator.

IndexOf(OfficeMath)

Finds the index of an object in the collection.

Declaration
public int IndexOf(OfficeMath item)
Parameters
Type Name Description
OfficeMath item

The object to find.

Returns
Type Description
int

The zero-based index, or -1 when absent.

Insert(int, OfficeMath)

Inserts an office math object at the specified index.

Declaration
public void Insert(int index, OfficeMath item)
Parameters
Type Name Description
int index

The zero-based insertion index.

OfficeMath item

The object to insert.

Remove(OfficeMath)

Removes an office math object from the collection.

Declaration
public bool Remove(OfficeMath item)
Parameters
Type Name Description
OfficeMath item

The object to remove.

Returns
Type Description
bool

true when the object was removed.

RemoveAt(int)

Removes an office math object at the specified index.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

The zero-based index.

Implements

IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX