addZoomFrame

addZoomFrame(float x, float y, float width, float height, Slide slide) method

Adds a new Zoom object to the end of a collection.

Parameters

NameTypeDescription
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.

addZoomFrame(float x, float y, float width, float height, Slide slide, PPImage image) method

Adds a new Zoom object to the end of a collection.

Parameters

NameTypeDescription
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.