Class ExcelDrawingEffectStyle
Effect styles of a drawing object
Inherited Members
Namespace: OfficeOpenXml.Drawing.Style.Effect
Assembly: EPPlus.dll
Syntax
public class ExcelDrawingEffectStyle : XmlHelper
Properties
Blur
The blur effect
Declaration
public ExcelDrawingBlurEffect Blur { get; }
Property Value
Type | Description |
---|---|
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.
Declaration
public ExcelDrawingFillOverlayEffect FillOverlay { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingFillOverlayEffect |
Glow
The glow effect. A color blurred outline is added outside the edges of the drawing
Declaration
public ExcelDrawingGlowEffect Glow { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingGlowEffect |
HasBlur
If the drawing has any blur properties set
Declaration
public bool HasBlur { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasFillOverlay
If the drawing has any fill overlay properties set
Declaration
public bool HasFillOverlay { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasGlow
If the drawing has any glow properties set
Declaration
public bool HasGlow { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasInnerShadow
If the drawing has any inner shadow properties set
Declaration
public bool HasInnerShadow { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasOuterShadow
If the drawing has any outer shadow properties set
Declaration
public bool HasOuterShadow { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasPresetShadow
If the drawing has any preset shadow properties set
Declaration
public bool HasPresetShadow { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
InnerShadow
The inner shadow effect. A shadow is applied within the edges of the drawing.
Declaration
public ExcelDrawingInnerShadowEffect InnerShadow { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingInnerShadowEffect |
OuterShadow
The outer shadow effect. A shadow is applied outside the edges of the drawing.
Declaration
public ExcelDrawingOuterShadowEffect OuterShadow { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingOuterShadowEffect |
PresetShadow
The preset shadow effect.
Declaration
public ExcelDrawingPresetShadowEffect PresetShadow { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingPresetShadowEffect |
Reflection
The reflection effect.
Declaration
public ExcelDrawingReflectionEffect Reflection { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingReflectionEffect |
SoftEdgeRadius
Soft edge radius. A null value indicates no radius
Declaration
public double? SoftEdgeRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Methods
SetPresetGlow(ePresetExcelGlowType)
Set a predefined glow matching the preset types in Excel
Declaration
public void SetPresetGlow(ePresetExcelGlowType glowType)
Parameters
Type | Name | Description |
---|---|---|
ePresetExcelGlowType | glowType | The preset type |
SetPresetReflection(ePresetExcelReflectionType)
Set a predefined glow matching the preset types in Excel
Declaration
public void SetPresetReflection(ePresetExcelReflectionType reflectionType)
Parameters
Type | Name | Description |
---|---|---|
ePresetExcelReflectionType | reflectionType | The preset type |
SetPresetShadow(ePresetExcelShadowType)
Set a predefined shadow matching the preset types in Excel
Declaration
public void SetPresetShadow(ePresetExcelShadowType shadowType)
Parameters
Type | Name | Description |
---|---|---|
ePresetExcelShadowType | shadowType | The preset type |
SetPresetSoftEdges(ePresetExcelSoftEdgesType)
Set a predefined glow matching the preset types in Excel
Declaration
public void SetPresetSoftEdges(ePresetExcelSoftEdgesType softEdgesType)
Parameters
Type | Name | Description |
---|---|---|
ePresetExcelSoftEdgesType | softEdgesType | The preset type |