Show / Hide Table of Contents

Class CssExportSettings

Base class for css export settings.

Inheritance
System.Object
CssExportSettings
CssRangeExportSettings
CssTableExportSettings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Export.HtmlExport
Assembly: EPPlus.dll
Syntax
public abstract class CssExportSettings

Properties

AdditionalCssElements

Css elements added to the table.

Declaration
public Dictionary<string, string> AdditionalCssElements { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>

IncludeNormalFont

If true the normal font will be included in the css. Default is true

Declaration
public bool IncludeNormalFont { get; set; }
Property Value
Type Description
System.Boolean

IncludeSharedClasses

If set to true shared css classes used on table elements are included in the css. If set to false, these classes has to be included manually. IncludeNormalFont will be ignored if set to false and no font css will be added.
Default is true

Declaration
public bool IncludeSharedClasses { get; set; }
Property Value
Type Description
System.Boolean

IndentUnit

The unit used in the stylesheet for an indentation in a cell

Declaration
public string IndentUnit { get; set; }
Property Value
Type Description
System.String

IndentValue

The value used in the stylesheet for an indentation in a cell

Declaration
public float IndentValue { get; set; }
Property Value
Type Description
System.Single
In This Article
Back to top Generated by DocFX