C1.Win.C1Editor.4 Assembly > C1.Win.C1Editor Namespace > C1TextRange Class > ApplyStyle Method : ApplyStyle(String,String) Method |
'Declaration Public Overloads Sub ApplyStyle( _ ByVal propertyName As System.String, _ ByVal propertyValue As System.String _ )
public void ApplyStyle( System.string propertyName, System.string propertyValue )
string htmlColor = ColorTranslator.ToHtml(value); c1Editor1.Selection.ApplyStyle("background-color", htmlColor);