Documents for Imaging .NET Edition | GCDocuments
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Text Namespace / TextRun Class / TextRun Constructor / TextRun Constructor(Int32[],Int32,Int32,TextFormat)
An array of UTF-32 characters (code points).
Index of the first code point in the subrange.
Number of code points in the subrange.
The text format to use.

In This Topic
    TextRun Constructor(Int32[],Int32,Int32,TextFormat)
    In This Topic
    Creates a new instance of TextRun based on a subrange of an array of UTF-32 characters.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal codePoints() As System.Integer, _
       ByVal startIndex As System.Integer, _
       ByVal count As System.Integer, _
       ByVal format As TextFormat _
    )
    public TextRun( 
       System.int[] codePoints,
       System.int startIndex,
       System.int count,
       TextFormat format
    )

    Parameters

    codePoints
    An array of UTF-32 characters (code points).
    startIndex
    Index of the first code point in the subrange.
    count
    Number of code points in the subrange.
    format
    The text format to use.
    See Also