Clear
ShadowFormat.Clear method
清除阴影格式。
public void Clear()
例子
展示如何使用形状的阴影格式。
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();
也可以看看
- class ShadowFormat
- 命名空间 Aspose.Words.Drawing
- 部件 Aspose.Words