Class ExcelDrawingFillBase
Base class for drawing fills
Inheritance
System.Object
ExcelDrawingFillBase
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.Drawing.Style.Fill
Assembly: EPPlus.dll
Syntax
public abstract class ExcelDrawingFillBase
Constructors
ExcelDrawingFillBase()
Creates an instance of ExcelDrawingFillBase
Declaration
protected ExcelDrawingFillBase()
ExcelDrawingFillBase(XmlNamespaceManager, XmlNode, String, Action)
Creates an instance of ExcelDrawingFillBase
Declaration
protected ExcelDrawingFillBase(XmlNamespaceManager nsm, XmlNode topNode, string fillPath, Action initXml)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNamespaceManager | nsm | Namespace manager |
System.Xml.XmlNode | topNode | The top node |
System.String | fillPath | XPath to the fill |
System.Action | initXml | Xml initialize method |
Fields
_fillPath
The XPath
Declaration
protected string _fillPath
Field Value
Type | Description |
---|---|
System.String |
_nsm
The name space manager
Declaration
protected XmlNamespaceManager _nsm
Field Value
Type | Description |
---|---|
System.Xml.XmlNamespaceManager |
_topNode
The top node
Declaration
protected XmlNode _topNode
Field Value
Type | Description |
---|---|
System.Xml.XmlNode |
_xml
The Xml helper
Declaration
protected XmlHelper _xml
Field Value
Type | Description |
---|---|
XmlHelper |
Properties
Style
Type of fill
Declaration
public abstract eFillStyle Style { get; }
Property Value
Type | Description |
---|---|
eFillStyle |
Methods
CheckTypeChange(String)
Internal Check for type change
Declaration
protected void CheckTypeChange(string type)
Parameters
Type | Name | Description |
---|---|---|
System.String | type | The type |
CreateXmlHelper()
Create the Xml Helper
Declaration
protected void CreateXmlHelper()
InitXml(XmlNamespaceManager, XmlNode, String)
Init xml
Declaration
protected void InitXml(XmlNamespaceManager nsm, XmlNode node, string fillPath)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNamespaceManager | nsm | Xml namespace manager |
System.Xml.XmlNode | node | The node |
System.String | fillPath | The fill path |