Public Properties
Adds a paragraph with the specified text and returns the FormattedTextParagraph representing the new paragraph. Syntax Parameters paragraphText The text in the paragraph. Return Value The FormattedTextParagraph representing the new paragraph.
Removes all paragraphs from the formatted text. Syntax
Determines whether the specified paragraph exists in the collection. Syntax Parameters paragraph The paragraph to find in the collection. Return Value True if the paragraph exists in the collection; False otherwise.
Gets the number of paragraphs in the collection. Syntax
Gets the enumerator to iterate over all paragraphs. Syntax
Gets the zero-based index of the specified paragraph in the collection. Syntax Parameters paragraph The paragraph to find in the collection. Return Value The zero-based index of the paragraph in the collection or -1 if the paragraph doesnt exist in the collection.
Inserts a paragraph with the specified text and returns the FormattedTextParagraph representing the new paragraph. Syntax Parameters index The zero-based index in the collection where the paragraph should be inserted.paragraphText The text in the paragraph. Return Value The FormattedTextParagraph representing the ...
Gets the paragraph at the specified zero-based index. Syntax Parameters index The zero-based index of the paragraph to get. Property Value The FormattedTextParagraph representing the paragraph at the specified index. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than zero or gre...
Removes the specified paragraph from the collection. Syntax Parameters paragraph The paragraph to remove from the collection. Return Value True if the paragraph was in the collection and was removed; False otherwise.