Version

Insert Method (FormattedTextParagraphCollection)

Inserts a paragraph with the specified text and returns the FormattedTextParagraph representing the new paragraph.
Syntax
public FormattedTextParagraph Insert( 
   int index,
   string paragraphText
)

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 new paragraph.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than zero or greater than the number of paragraphs in the collection.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also