Clear

ISummaryZoomSectionCollection.Clear method

从集合中删除所有 SummaryZoomSection 对象。

public void Clear()

例子

该示例演示了按索引获取摘要缩放部分元素:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame) pres.Slides[1].Shapes[0];
    ISummaryZoomSectionCollection collection = zoomFrame.SummaryZoomCollection;
    collection.Clear();
}

也可以看看