Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.5.2 Assembly / C1.Win.C1Editor Namespace / C1TextRange Class / GetStyleValue Method / GetStyleValue(String,C1StyleType) Method
The CSS property name.
Specifies the type of content to which the inline style will be applied.

In This Topic
    GetStyleValue(String,C1StyleType) Method
    In This Topic
    Gets an inline style value by the given CSS property name.
    Syntax
    'Declaration
     
    Public Overloads Function GetStyleValue( _
       ByVal propertyName As System.String, _
       ByVal type As C1StyleType _
    ) As System.String
    public System.string GetStyleValue( 
       System.string propertyName,
       C1StyleType type
    )

    Parameters

    propertyName
    The CSS property name.
    type
    Specifies the type of content to which the inline style will be applied.

    Return Value

    The string value of the given property.
    See Also