Item

SummaryZoomSectionCollection 索引器

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

public ISummaryZoomSection this[int index] { get; }

示例

示例演示通过索引获取 Summary Zoom Section 元素:

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

另请参见