RemoveSummaryZoomSection

SummaryZoomSectionCollection.RemoveSummaryZoomSection 方法

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

public void RemoveSummaryZoomSection(ISection section)
参数类型描述
sectionISection要删除 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]);
}

另请参见