Home Cooker Classes Others Rice CookerGX
Classes  >  style  >  CssText(string)
style class : CssText(string) setter

Description

Sets the text which represents the style rule.

Syntax

styleInstance.CssText = cssText

Arguments

ClassNameDescription
stringcssTextThe text which represents the style rule.

Return value

None

Sample code

//anyStyle is a instance of style type.

anyStyle.CssText = "color:red;background-color:blue";

Notes

It's a wrapper of the MSHTML.IHTMLStyle.cssText.

Links for reference

Copyright © Rice All rights reserved.