Clear
ShadowFormat.Clear method
Clears shadow format.
public void Clear()
Examples
Shows how to work with a shadow formatting for the shape.
Document doc = new Document(MyDir + "Shape stroke pattern border.docx");
Shape shape = (Shape)doc.GetChildNodes(NodeType.Shape, true)[0];
if (shape.ShadowFormat.Visible && shape.ShadowFormat.Type == ShadowType.Shadow2)
shape.ShadowFormat.Type = ShadowType.Shadow7;
if (shape.ShadowFormat.Type == ShadowType.ShadowMixed)
shape.ShadowFormat.Clear();
See Also
- class ShadowFormat
- namespace Aspose.Words.Drawing
- assembly Aspose.Words