RichTextBox for WinRT
InsertText Method


A C1.Xaml.RichTextBox.Documents.C1TextPointer where to insert text.
Text to insert.
Inserts text in a document keeping the styles of previous runs in the same block.
Syntax
'Declaration
 
Public Shared Function InsertText( _
   ByVal position As C1TextPointer, _
   ByVal text As System.String _
) As C1TextRange
'Usage
 
Dim position As C1TextPointer
Dim text As System.String
Dim value As C1TextRange
 
value = EditExtensions.InsertText(position, text)
public static C1TextRange InsertText( 
   C1TextPointer position,
   System.string text
)

Parameters

position
A C1.Xaml.RichTextBox.Documents.C1TextPointer where to insert text.
text
Text to insert.

Return Value

The start position of the inserted text.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EditExtensions Class
EditExtensions Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback