AddSummaryZoomSection

ISummaryZoomSectionCollection.AddSummaryZoomSection method

Crea un nuevo objeto Sección de zoom de resumen y lo agrega a la colección

public ISummaryZoomSection AddSummaryZoomSection(ISection section)
ParámetroEscribeDescripción
sectionISectionSección para un nuevo elemento de Sección de zoom de resumenISection

Valor_devuelto

AdicionalISummaryZoomFrame elemento

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 el elemento Sección de zoom de resumen 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]);
}

Ver también