insertZoomFrame

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

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.

Returns

ZoomFrame

Exception

ExceptionCondition
ArgumentExceptionReferenced slide does not belong to the current presentation.

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

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

Returns

ZoomFrame

Exception

ExceptionCondition
ArgumentExceptionReferenced slide does not belong to the current presentation.