Class ExcelDxfBorderBase
The border style of a drawing in a differential formatting record
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.Style.Dxf
Assembly: EPPlus.dll
Syntax
public class ExcelDxfBorderBase : DxfStyleBase
Properties
Bottom
Bottom border style
Declaration
public ExcelDxfBorderItem Bottom { get; }
Property Value
Type | Description |
---|---|
ExcelDxfBorderItem |
HasValue
If the object has any properties set
Declaration
public override bool HasValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Horizontal
Horizontal border style
Declaration
public ExcelDxfBorderItem Horizontal { get; }
Property Value
Type | Description |
---|---|
ExcelDxfBorderItem |
Id
The Id
Declaration
protected override string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Left
Left border style
Declaration
public ExcelDxfBorderItem Left { get; }
Property Value
Type | Description |
---|---|
ExcelDxfBorderItem |
Right
Right border style
Declaration
public ExcelDxfBorderItem Right { get; }
Property Value
Type | Description |
---|---|
ExcelDxfBorderItem |
Top
Top border style
Declaration
public ExcelDxfBorderItem Top { get; }
Property Value
Type | Description |
---|---|
ExcelDxfBorderItem |
Vertical
Vertical border style
Declaration
public ExcelDxfBorderItem Vertical { get; }
Property Value
Type | Description |
---|---|
ExcelDxfBorderItem |
Methods
BorderAround(ExcelBorderStyle, eThemeSchemeColor)
Declaration
public void BorderAround(ExcelBorderStyle borderStyle = ExcelBorderStyle.Thin, eThemeSchemeColor themeColor = eThemeSchemeColor.Accent1)
Parameters
Type | Name | Description |
---|---|---|
ExcelBorderStyle | borderStyle | |
eThemeSchemeColor | themeColor |
BorderAround(ExcelBorderStyle, Color)
Declaration
public void BorderAround(ExcelBorderStyle borderStyle, Color color)
Parameters
Type | Name | Description |
---|---|---|
ExcelBorderStyle | borderStyle | |
System.Drawing.Color | color |
Clear()
Clears all properties
Declaration
public override void Clear()
Overrides
Clone()
Clone the object
Declaration
protected override DxfStyleBase Clone()
Returns
Type | Description |
---|---|
DxfStyleBase | A new instance of the object |
Overrides
CreateNodes(XmlHelper, String)
Creates the the xml node
Declaration
protected override void CreateNodes(XmlHelper helper, string path)
Parameters
Type | Name | Description |
---|---|---|
XmlHelper | helper | The xml helper |
System.String | path | The X Path |
Overrides
SetValuesFromXml(XmlHelper)
Declaration
protected override void SetValuesFromXml(XmlHelper helper)
Parameters
Type | Name | Description |
---|---|---|
XmlHelper | helper |