Table of Contents

Class ExcelDrawingEffectStyle

Namespace
OfficeOpenXml.Drawing.Style.Effect
Assembly
EPPlus.dll

Effect styles of a drawing object

public class ExcelDrawingEffectStyle : XmlHelper
Inheritance
ExcelDrawingEffectStyle
Inherited Members

Properties

Blur

The blur effect

public ExcelDrawingBlurEffect Blur { get; }

Property Value

ExcelDrawingBlurEffect

FillOverlay

The fill overlay effect. A fill overlay can be used to specify an additional fill for a drawing and blend the two together.

public ExcelDrawingFillOverlayEffect FillOverlay { get; }

Property Value

ExcelDrawingFillOverlayEffect

Glow

The glow effect. A color blurred outline is added outside the edges of the drawing

public ExcelDrawingGlowEffect Glow { get; }

Property Value

ExcelDrawingGlowEffect

HasBlur

If the drawing has any blur properties set

public bool HasBlur { get; }

Property Value

bool

HasFillOverlay

If the drawing has any fill overlay properties set

public bool HasFillOverlay { get; }

Property Value

bool

HasGlow

If the drawing has any glow properties set

public bool HasGlow { get; }

Property Value

bool

HasInnerShadow

If the drawing has any inner shadow properties set

public bool HasInnerShadow { get; }

Property Value

bool

HasOuterShadow

If the drawing has any outer shadow properties set

public bool HasOuterShadow { get; }

Property Value

bool

HasPresetShadow

If the drawing has any preset shadow properties set

public bool HasPresetShadow { get; }

Property Value

bool

InnerShadow

The inner shadow effect. A shadow is applied within the edges of the drawing.

public ExcelDrawingInnerShadowEffect InnerShadow { get; }

Property Value

ExcelDrawingInnerShadowEffect

OuterShadow

The outer shadow effect. A shadow is applied outside the edges of the drawing.

public ExcelDrawingOuterShadowEffect OuterShadow { get; }

Property Value

ExcelDrawingOuterShadowEffect

PresetShadow

The preset shadow effect.

public ExcelDrawingPresetShadowEffect PresetShadow { get; }

Property Value

ExcelDrawingPresetShadowEffect

Reflection

The reflection effect.

public ExcelDrawingReflectionEffect Reflection { get; }

Property Value

ExcelDrawingReflectionEffect

SoftEdgeRadius

Soft edge radius. A null value indicates no radius

public double? SoftEdgeRadius { get; set; }

Property Value

double?

Methods

SetPresetGlow(ePresetExcelGlowType)

Set a predefined glow matching the preset types in Excel

public void SetPresetGlow(ePresetExcelGlowType glowType)

Parameters

glowType ePresetExcelGlowType

The preset type

SetPresetReflection(ePresetExcelReflectionType)

Set a predefined glow matching the preset types in Excel

public void SetPresetReflection(ePresetExcelReflectionType reflectionType)

Parameters

reflectionType ePresetExcelReflectionType

The preset type

SetPresetShadow(ePresetExcelShadowType)

Set a predefined shadow matching the preset types in Excel

public void SetPresetShadow(ePresetExcelShadowType shadowType)

Parameters

shadowType ePresetExcelShadowType

The preset type

SetPresetSoftEdges(ePresetExcelSoftEdgesType)

Set a predefined glow matching the preset types in Excel

public void SetPresetSoftEdges(ePresetExcelSoftEdgesType softEdgesType)

Parameters

softEdgesType ePresetExcelSoftEdgesType

The preset type