Version

Search Results

Add Method (FormattedTextParagraphCollection)

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.

Clear Method (FormattedTextParagraphCollection)

Removes all paragraphs from the formatted text. Syntax

Contains Method (FormattedTextParagraphCollection)

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.

Count Property (FormattedTextParagraphCollection)

Gets the number of paragraphs in the collection. Syntax

GetEnumerator Method (FormattedTextParagraphCollection)

Gets the enumerator to iterate over all paragraphs. Syntax

IndexOf Method (FormattedTextParagraphCollection)

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.

Insert Method (FormattedTextParagraphCollection)

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 ...

Item Property (FormattedTextParagraphCollection)

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...

Remove Method (FormattedTextParagraphCollection)

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.