Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / RichText Class / Format Method / Format(Int32,Int32,Font) Method
The start position of the text run.
The length of the text run.
The font setting of the text run.


In This Topic
    Format(Int32,Int32,Font) Method
    In This Topic
    Formats the specified text run with the specified font.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Format( _
       ByVal start As Integer, _
       ByVal length As Integer, _
       ByVal font As Font _
    ) 
    'Usage
     
    
    Dim instance As RichText
    Dim start As Integer
    Dim length As Integer
    Dim font As Font
     
    instance.Format(start, length, font)
    public void Format( 
       int start,
       int length,
       Font font
    )

    Parameters

    start
    The start position of the text run.
    length
    The length of the text run.
    font
    The font setting of the text run.
    See Also