WordProcessingShapeFormattedTextFragmentCollection

WordProcessingShapeFormattedTextFragmentCollection class

Represents a collection of formatted text fragments in a Word document shape.

public class WordProcessingShapeFormattedTextFragmentCollection : 
    WordProcessingFormattedTextFragmentCollection

Properties

Name Description
CollectionType { get; } Gets the formatted fragment collection type.
virtual Count { get; } Gets the number of elements contained in the collection.
override IsReadOnly { get; } Gets a value indicating whether the collection is read-only.
virtual Item { get; } Gets the element at the specified index in the collection.

Methods

Name Description
Add(string) Adds a formatted text fragment to the collection.
Add(string, Font) Adds a formatted text fragment to the collection.
Add(string, Font, Color) Adds a formatted text fragment to the collection.
Add(string, Font, Color, Color) Adds a formatted text fragment to the collection.
Clear()
virtual Contains(FormattedTextFragment)
virtual GetEnumerator()
virtual IndexOf(FormattedTextFragment)
Insert(int, string) Inserts a formatted text fragment into the collection at a given index.
Insert(int, string, Font) Inserts a formatted text fragment into the collection at a given index.
Insert(int, string, Font, Color) Inserts a formatted text fragment into the collection at a given index.
Insert(int, string, Font, Color, Color) Inserts a formatted text fragment into the collection at a given index.
Remove(FormattedTextFragment)
RemoveAt(int)

Remarks

This collection contains the items of WordProcessingTextFormattedTextFragment type.

See Also