Javatpoint Logo
Javatpoint Logo

Apache POI Delete Slide

To delete powerpoint slide, Apache POI provides a method removeSlide(). It takes slide's index as an argument. Slide index starts with 0, so that first slide can be accessed by passing 0 to this method.

Lets see an example in which we are deleting first slide from the group of slides.

Apache POI Delete Slide Example


See, before deleting slide, we have three slides in this document.

Apache POI Powerpoint Delete Slide

After deleting first slide, now we are left with two slides.

Apache POI Powerpoint Delete Slide
Next Topic#

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA