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


In This Topic
    SetSelectionItalic Method (RichTextBoxWrapper)
    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 RichTextBoxWrapper
    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