RemoveSummaryZoomSection
ISummaryZoomSectionCollection.RemoveSummaryZoomSection 方法
从集合中删除摘要缩放部分对象。
public void RemoveSummaryZoomSection(ISection section)
参数 | 类型 | 描述 |
---|---|---|
section | ISection | 要删除摘要缩放部分元素的部分 ISection 。 |
示例
该示例演示了通过索引获取摘要缩放部分元素:
[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]);
}