Show / Hide Table of Contents

Class ExcelDrawingFillBasic

Fill properties for drawing objects like lines etc, that don't have blip- and pattern- fills

Inheritance
System.Object
XmlHelper
ExcelDrawingFillBasic
ExcelDrawingFill
Implements
System.IDisposable
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
Assembly: EPPlus.dll
Syntax
public class ExcelDrawingFillBasic : XmlHelper, IDisposable

Fields

_drawing

The drawings collection

Declaration
protected ExcelDrawing _drawing
Field Value
Type Description
ExcelDrawing

_fillNode

The fill xml element

Declaration
protected XmlNode _fillNode
Field Value
Type Description
System.Xml.XmlNode

_fillPath

XPath

Declaration
protected string _fillPath
Field Value
Type Description
System.String

_fillTypeNode

The fill type node.

Declaration
protected XmlNode _fillTypeNode
Field Value
Type Description
System.Xml.XmlNode

Properties

Color

Fill color for solid fills. Other fill styles will return Color.Empty. Setting this propery will set the Type to SolidFill with the specified color.

Declaration
public Color Color { get; set; }
Property Value
Type Description
System.Drawing.Color

GradientFill

Reference gradient fill properties This property is only accessable when Type is set to GradientFill

Declaration
public ExcelDrawingGradientFill GradientFill { get; }
Property Value
Type Description
ExcelDrawingGradientFill

SolidFill

Reference solid fill properties This property is only accessable when Type is set to SolidFill

Declaration
public ExcelDrawingSolidFill SolidFill { get; }
Property Value
Type Description
ExcelDrawingSolidFill

Style

Fill style

Declaration
public eFillStyle Style { get; set; }
Property Value
Type Description
eFillStyle

Transparancy

Transparancy in percent from a solid fill. This is the same as 100-Fill.Transform.Alpha

Declaration
public int Transparancy { get; set; }
Property Value
Type Description
System.Int32

Methods

Dispose()

Disposes the object

Declaration
public void Dispose()

LoadFill()

Loads the fill from xml

Declaration
protected virtual void LoadFill()

Implements

System.IDisposable
Back to top Generated by DocFX