Skip to content

Class CssExportSettings

Namespace: OfficeOpenXml.Export.HtmlExport
Assembly: EPPlus.dll

Base class for css export settings.

public abstract class CssExportSettings

Inheritance

object ← CssExportSettings

Derived

CssRangeExportSettings
CssTableExportSettings

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Constructors

CssExportSettings()

protected CssExportSettings()

Properties

AdditionalCssElements

Css elements added to the table.

public Dictionary<string, string> AdditionalCssElements { get; }

Property Value

Dictionary<string, string>

IncludeNormalFont

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

public bool IncludeNormalFont { get; set; }

Property Value

bool

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

public bool IncludeSharedClasses { get; set; }

Property Value

bool

IndentUnit

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

public string IndentUnit { get; set; }

Property Value

string

IndentValue

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

public float IndentValue { get; set; }

Property Value

float