ShadowFormat
ShapeBase.ShadowFormat property
Gets shadow formatting for the shape.
public ShadowFormat ShadowFormat { get; }
Examples
Shows how to get shadow color.
Document doc = new Document(MyDir + "Shadow color.docx");
Shape shape = (Shape)doc.GetChild(NodeType.Shape, 0, true);
ShadowFormat shadowFormat = shape.ShadowFormat;
Assert.AreEqual(Color.Red.ToArgb(), shadowFormat.Color.ToArgb());
Assert.AreEqual(ShadowType.ShadowMixed, shadowFormat.Type);
See Also
- class ShadowFormat
- class ShapeBase
- namespace Aspose.Words.Drawing
- assembly Aspose.Words