GetSummarySection

ISummaryZoomSectionCollection.GetSummarySection 方法

返回给定节的摘要缩放节元素。

public ISummaryZoomSection GetSummarySection(ISection section)  
参数类型描述
sectionISection要查找的节 ISection

返回值

ISummaryZoomSection 或者如果集合不包含该节的元素,则为 null。

示例

该示例演示了如何通过索引获取摘要缩放节元素:

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

另请参见