Contents
- Index
- Previous
- Next
AddCSS method
Declaration
function AddCSS(const ACSSText: WideString): Boolean;
Description
Adds to the document the CSS definition specified by the ACSSText parameter, which must be a valid HTML code defining a CSS.
Returns True on success. Returns False on failure.
Example
ProfDHTMLEdit21.AddCSS(
'.RED {color: #FF0000;}'
+
'.BLUE {color: #0000FF;}'
);