public class ZoomFrame extends GraphicalObject implements IZoomFrame
Represents an Zoom object on a slide.
Modifier and Type | Method and Description |
---|---|
IPPImage |
getImage()
Gets or sets image for zoom object.
|
int |
getImageType()
Gets or sets the image type of a zoom object.
|
boolean |
getReturnToParent()
Gets or sets the navigation behavior in slideshow.
|
boolean |
getShowBackground()
Gets or sets value that specifies whether the Zoom will use the background of the destination slide.
|
ISlide |
getTargetSlide()
Gets or sets the slide object that the Slide Zoom object links to.
|
float |
getTransitionDuration()
Gets or sets the duration of the transition between Zoom and slide.
|
void |
setImage(IPPImage value)
Gets or sets image for zoom object.
|
void |
setImageType(int value)
Gets or sets the image type of a zoom object.
|
void |
setReturnToParent(boolean value)
Gets or sets the navigation behavior in slideshow.
|
void |
setShowBackground(boolean value)
Gets or sets value that specifies whether the Zoom will use the background of the destination slide.
|
void |
setTargetSlide(ISlide value)
Gets or sets the slide object that the Slide Zoom object links to.
|
void |
setTransitionDuration(float value)
Gets or sets the duration of the transition between Zoom and slide.
|
getGraphicalObjectLock
addPlaceholder, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGraphicalObjectLock
addPlaceholder, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
getSlide
getPresentation
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
public final int getImageType()
Gets or sets the image type of a zoom object.
Read/write ZoomImageType
.
Default value: Preview
Next example demonstrates changing Image Type to Preview value. In this case current image of a Zoom object changes to slide image:IPPImage image = pres.getImages().addImage(imageBytes); IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1), image); zoomFrame.setImageType(ZoomImageType.Preview);
getImageType
in interface IZoomFrame
public final void setImageType(int value)
Gets or sets the image type of a zoom object.
Read/write ZoomImageType
.
Default value: Preview
Next example demonstrates changing Image Type to Preview value. In this case current image of a Zoom object changes to slide image:IPPImage image = pres.getImages().addImage(imageBytes); IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1), image); zoomFrame.setImageType(ZoomImageType.Preview);
setImageType
in interface IZoomFrame
public final boolean getReturnToParent()
Gets or sets the navigation behavior in slideshow.
Read/write boolean
.
Default value: false
Example:IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1)); zoomFrame.setReturnToParent(true);
getReturnToParent
in interface IZoomFrame
public final void setReturnToParent(boolean value)
Gets or sets the navigation behavior in slideshow.
Read/write boolean
.
Default value: false
Example:IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1)); zoomFrame.setReturnToParent(true);
setReturnToParent
in interface IZoomFrame
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 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));
getTargetSlide
in interface IZoomFrame
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 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));
setTargetSlide
in interface IZoomFrame
public final boolean getShowBackground()
Gets or sets value that specifies whether the Zoom will use the background of the destination slide.
Read/write boolean
.
Default value: true
the example demonstrates removing the background of an image of a Zoom object:IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1)); zoomFrame.setShowBackground(false);
getShowBackground
in interface IZoomFrame
public final void setShowBackground(boolean value)
Gets or sets value that specifies whether the Zoom will use the background of the destination slide.
Read/write boolean
.
Default value: true
the example demonstrates removing the background of an image of a Zoom object:IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1)); zoomFrame.setShowBackground(false);
setShowBackground
in interface IZoomFrame
public final IPPImage getImage()
Gets or sets image for zoom object.
Read/write IPPImage
.
the example demonstrates changing an image of a Zoom object:IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1)); IPPImage image = pres.getImages().addImage(imageBytes; zoomFrame.setImage(image);
getImage
in interface IZoomFrame
public final void setImage(IPPImage value)
Gets or sets image for zoom object.
Read/write IPPImage
.
the example demonstrates changing an image of a Zoom object:IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1)); IPPImage image = pres.getImages().addImage(imageBytes; zoomFrame.setImage(image);
setImage
in interface IZoomFrame
public final float getTransitionDuration()
Gets or sets the duration of the transition between Zoom and slide.
Read/write float
.
Default value: 1.0f
the example demonstrates changing the duration of the transition between Zoom and slide:IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1)); zoomFrame.setTransitionDuration(2.5f);
getTransitionDuration
in interface IZoomFrame
public final void setTransitionDuration(float value)
Gets or sets the duration of the transition between Zoom and slide.
Read/write float
.
Default value: 1.0f
the example demonstrates changing the duration of the transition between Zoom and slide:IZoomFrame zoomFrame = pres.getSlides().get_Item(0).getShapes().addZoomFrame(150, 20, 50, 50, pres.getSlides().get_Item(1)); zoomFrame.setTransitionDuration(2.5f);
setTransitionDuration
in interface IZoomFrame
Copyright © 2004-2021 Aspose Pty Ltd. All Rights Reserved.