Type
ShadowFormat.Type property
Gets or sets the specified ShadowType
for ShadowFormat.
public ShadowType Type { get; set; }
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
- enum ShadowType
- class ShadowFormat
- namespace Aspose.Words.Drawing
- assembly Aspose.Words