com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class SectionZoomFrame

    • Method Detail

      • getTargetSection

        public final ISection getTargetSection()

        Gets or sets the section object that the Section Zoom object links to. Read/write ISection.


        Next example demonstrates changing target section and creates new image for the section zoom object:
         
         Presentation pres = new Presentation();
         try {
             ISectionZoomFrame sectionZoomFrame = pres.getSlides().get_Item(0).getShapes().addSectionZoomFrame(150, 20, 50, 50, pres.getSections().get_Item(1));
             sectionZoomFrame.setTargetSection(pres.getSections().get_Item(2));
         } finally {
             if (pres != null) pres.dispose();
         }
         
        Specified by:
        getTargetSection in interface ISectionZoomFrame
      • setTargetSection

        public final void setTargetSection(ISection value)

        Gets or sets the section object that the Section Zoom object links to. Read/write ISection.


        Next example demonstrates changing target section and creates new image for the section zoom object:
         
         Presentation pres = new Presentation();
         try {
             ISectionZoomFrame sectionZoomFrame = pres.getSlides().get_Item(0).getShapes().addSectionZoomFrame(150, 20, 50, 50, pres.getSections().get_Item(1));
             sectionZoomFrame.setTargetSection(pres.getSections().get_Item(2));
         } finally {
             if (pres != null) pres.dispose();
         }
         
        Specified by:
        setTargetSection in interface ISectionZoomFrame