Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.5.2 Assembly / C1.Win.C1Editor Namespace / C1TextRange Class / ApplyStyle Method / ApplyStyle(String,String,C1StyleType) Method
Name of CSS property.
CSS value.
Defines type of content to which inline style must be applied.

In This Topic
    ApplyStyle(String,String,C1StyleType) Method
    In This Topic
    Applies specified inline style to the range.
    Syntax
    'Declaration
     
    Public Overloads Sub ApplyStyle( _
       ByVal propertyName As System.String, _
       ByVal propertyValue As System.String, _
       ByVal type As C1StyleType _
    ) 
    public void ApplyStyle( 
       System.string propertyName,
       System.string propertyValue,
       C1StyleType type
    )

    Parameters

    propertyName
    Name of CSS property.
    propertyValue
    CSS value.
    type
    Defines type of content to which inline style must be applied.
    See Also