RemoveSummaryZoomSection
SummaryZoomSectionCollection.RemoveSummaryZoomSection 方法
从集合中删除 Summary Zoom Section 对象。
public void RemoveSummaryZoomSection(ISection section)
参数 | 类型 | 描述 |
---|---|---|
section | ISection | 要删除 Summary Zoom Section 元素的节 ISection 。 |
示例
该示例演示如何通过索引获取 Summary Zoom Section 元素:
[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame) pres.Slides[1].Shapes[0];
ISummaryZoomSectionCollection collection = zoomFrame.SummaryZoomCollection;
collection.RemoveSummaryZoomSection(pres.Sections[1]);
}