Working with the Shadow Effect of Shape or Chart
Contents
[
Hide
]
Possible Usage Scenarios
Aspose.Cells provides the Shape.ShadowEffect property to work with the shadow effect of shape or chart. It contains the following sub-properties which you can set to achieve different results as per your requirements.
- ShadowEffect.Angle
- ShadowEffect.Blur
- ShadowEffect.Color
- ShadowEffect.Distance
- ShadowEffect.PresetType
- ShadowEffect.Size
- ShadowEffect.Transparency
The following screenshot shows the Microsoft Excel interface to set the Shadow Effect of Shape.
Working with the Shadow Effect of Shape or Chart
The following sample code loads the source excel file and accesses the first shape in the first worksheet and sets the sub-properties of Shape.ShadowEffect property and then saves the workbook in the output excel file.
Sample Code