|
TRVStyle.SaveCSS |
Top Previous Next |
|
Saves text and paragraph styles as CSS (Cascading Style Sheets) file. type TRVSaveCSSOption = ( rvcssOnlyDifference, rvcssIgnoreLeftAlignment, rvcssNoDefCSSStyle, rvcssUTF8, rvcssDefault0Style); TRVSaveCSSOptions = set of TRVSaveCSSOption;
function SaveCSS(const FileName: String; Options: TRVSaveCSSOptions): Boolean; Use this method if you want to save content of TRichView as HTML file (RichView.SaveHTMLEx) with external CSS. You can save CSS only once and use it for several HTML files (if they are linked to the same or compatible RVStyle components) . This method allows to reduce size of HTML files. The following options may be included in the Options parameter.
Please do not use other options. There are no methods for loading CSS files. See also: |