Table of Contents

Class CssExportSettings

Namespace
OfficeOpenXml.Export.HtmlExport
Assembly
EPPlus.dll

Base class for css export settings.

public abstract class CssExportSettings
Inheritance
CssExportSettings
Derived
Inherited Members

Constructors

CssExportSettings()

protected CssExportSettings()

Properties

AdditionalCssElements

Css elements added to the table.

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

Property Value

Dictionary<string, string>

IncludeCssReset

Ensure margin and padding consistent between browsers

public bool IncludeCssReset { get; set; }

Property Value

bool

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