Item

ISummaryZoomSectionCollection indexer

获取指定索引处的元素。 只读ISummaryZoomSection

public ISummaryZoomSection this[int index] { get; }

例子

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

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

也可以看看