TPartialExportState.SaveCss Method
Overloads
TPartialExportState.SaveCss(TextWriter)
Use this method to output the CSS information on this object to the header of an HTML page. If you are using en external StyleSheet, this method will output a link to it, or if you are using an internal one it will output the actual classes. This overload will write the classes inside a <style> tag. To avoid writing the style tags, use the overload SaveCss(TextWriter, Boolean)
Syntax
Namespace: FlexCel.Render
public void SaveCss(TextWriter writer)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
writer | TextWriter | Writer where you are going to write the information. |
See also
TPartialExportState.SaveCss(TextWriter, Boolean)
Use this method to output the CSS information on this object to the header of an HTML page. If you are using en external StyleSheet, this method will output a link to it, or if you are using an internal one it will output the actual classes.
Syntax
Namespace: FlexCel.Render
public void SaveCss(TextWriter writer, Boolean includeStyleDefinition)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
writer | TextWriter | Writer where you are going to write the information. | |
includeStyleDefinition | Boolean | If true, the css classes will be inside a <style> tag. If false, only the actual classes will be written. This parameter has no effect if the StyleSheet is external. |