ZoomFrame

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

All Implemented Interfaces: com.aspose.slides.IZoomFrame

public class ZoomFrame extends ZoomObject implements IZoomFrame

Represents a Slide Zoom object in a slide.

Methods

MethodDescription
getTargetSlide()Gets or sets the slide object that the Slide Zoom object links to.
setTargetSlide(ISlide value)Gets or sets the slide object that the Slide Zoom object links to.

getTargetSlide()

public final ISlide getTargetSlide()

Gets or sets the slide object that the Slide Zoom object links to. Read/write ISlide.


Next example demonstrates changing target slide and creates new image for the Slide Zoom object:
 
 IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1));
 zoomFrame.setTargetSlide(pres.getSlides().get_Item(2));

Returns: ISlide

setTargetSlide(ISlide value)

public final void setTargetSlide(ISlide value)

Gets or sets the slide object that the Slide Zoom object links to. Read/write ISlide.


Next example demonstrates changing target slide and creates new image for the Slide Zoom object:
 
 IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1));
 zoomFrame.setTargetSlide(pres.getSlides().get_Item(2));

Parameters:

ParameterTypeDescription
valueISlide