Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / RichTextEditor Class / SetSelectionItalic Method
true to make selection italics; false to make it regular


In This Topic
    SetSelectionItalic Method (RichTextEditor)
    In This Topic
    Sets the italic style only for the selected part of the rich text box without modifying the other properties like font or size.
    Syntax
    'Declaration
     
    
    Public Function SetSelectionItalic( _
       ByVal italic As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As RichTextEditor
    Dim italic As Boolean
    Dim value As Boolean
     
    value = instance.SetSelectionItalic(italic)
    public bool SetSelectionItalic( 
       bool italic
    )

    Parameters

    italic
    true to make selection italics; false to make it regular
    See Also