RemoveSummaryZoomSection

ISummaryZoomSectionCollection.RemoveSummaryZoomSection method

从集合中移除 Summary Zoom Section 对象。

public void RemoveSummaryZoomSection(ISection section)
范围类型描述
sectionISection要删除摘要缩放部分元素的部分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]);
}

也可以看看