AddSummaryZoomSection

ISummaryZoomSectionCollection.AddSummaryZoomSection método

Crea un nuevo objeto de Sección de Zoom Resumido y lo añade a la colección

public ISummaryZoomSection AddSummaryZoomSection(ISection section)
ParámetroTipoDescripción
sectionISectionSección para un nuevo elemento de Sección de Zoom Resumido ISection

Valor de Retorno

Elemento añadido ISummaryZoomFrame

Observaciones

Si ya existe un elemento para esta sección en la colección, se devuelve el elemento existente.

Ejemplos

El ejemplo demuestra cómo obtener un elemento de Sección de Zoom Resumido por índice:

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

Véase también