insertZoomFrame

insertZoomFrame(int index, float x, float y, float width, float height, Slide slide) function

Creates a new Zoom object and inserts it to a collection at the specified index.

Parameters

NameTypeDescription
indexintThe zero-based index at which Zoom frame should be inserted.
xfloatX coordinate of a new Zoom frame {@code float}.
yfloatY coordinate of a new Zoom frame {@code float}.
widthfloatWidth of a new Zoom frame {@code float}.
heightfloatHeight of a new Zoom frame {@code float}.
slideSlideThe slide object referenced by the Zoom frame ISlide.

Result

ZoomFrame

Error

ErrorCondition
ArgumentExceptionReferenced slide does not belong to the current presentation.

insertZoomFrame(int index, float x, float y, float width, float height, Slide slide, PPImage image) function

Creates a new Zoom object and inserts it to a collection at the specified index.

Parameters

NameTypeDescription
indexintThe zero-based index at which Zoom frame should be inserted.
xfloatX coordinate of a new Zoom frame {@code float}.
yfloatY coordinate of a new Zoom frame {@code float}.
widthfloatWidth of a new Zoom frame {@code float}.
heightfloatHeight of a new Zoom frame {@code float}.
slideSlideThe slide object referenced by the Zoom frame ISlide.
imagePPImageThe image for the referenced slide IPPImage

Result

ZoomFrame

Error

ErrorCondition
ArgumentExceptionReferenced slide does not belong to the current presentation.