Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / RunCollection Class / Add Method / Add(String,Style) Method
The text of the inserted Run
The run character or linked paragraph style.

In This Topic
    Add(String,Style) Method
    In This Topic
    Adds a Run to this collection at the InsertLocation.End location.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal text As System.String, _
       ByVal style As Style _
    ) As Run
    public Run Add( 
       System.string text,
       Style style
    )

    Parameters

    text
    The text of the inserted Run
    style
    The run character or linked paragraph style.

    Return Value

    The added Run.
    See Also