Skip to content

Class DxfStyleBase

Namespace: OfficeOpenXml.Style.Dxf
Assembly: EPPlus.dll

Base class for differential formatting styles.

public abstract class DxfStyleBase

Inheritance

object ← DxfStyleBase

Derived

ExcelDxfAlignment
ExcelDxfBorderBase
ExcelDxfBorderItem
ExcelDxfColor
ExcelDxfFill
ExcelDxfFontBase
ExcelDxfGradientFill
ExcelDxfGradientFillColor
ExcelDxfGradientFillColorCollection
ExcelDxfNumberFormat
ExcelDxfProtection
ExcelDxfStyleBase

Inherited Members

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

Properties

HasValue

If the style has any value set

public abstract bool HasValue { get; }

Property Value

bool

Methods

Clear()

Reset all properties for the style.

public abstract void Clear()

SetValueColor(XmlHelper, string, ExcelDxfColor)

Set the color value

protected void SetValueColor(XmlHelper helper, string path, ExcelDxfColor color)

Parameters

helper XmlHelper

The xml helper

path string

The x path

color ExcelDxfColor

The color