SectionZoomFrame

Inheritance: java.lang.Object, com.aspose.slides.Shape, com.aspose.slides.GraphicalObject, com.aspose.slides.ZoomObject

All Implemented Interfaces: com.aspose.slides.ISectionZoomFrame

public class SectionZoomFrame extends ZoomObject implements ISectionZoomFrame

Represents a Section Zoom object in a slide.

Methods

MethodDescription
getTargetSection()Gets or sets the section object that the Section Zoom object links to.
setTargetSection(ISection value)Gets or sets the section object that the Section Zoom object links to.

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();
 }

Returns: ISection

setTargetSection(ISection value)

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();
 }

Parameters:

ParameterTypeDescription
valueISection