Menu

Create Presentation Header Footer

Shoaib

Aspose.Slides

//Show date time placeholder
sourcePres.getHeaderFooterManager().setDateTimeVisible(true);

//Show the footer place holder
sourcePres.getHeaderFooterManager().setFooterVisible(true);

//Show Slide Number
sourcePres.getHeaderFooterManager().setSlideNumberVisible(true);

//Set the  header footer visibility on Title Slide
sourcePres.getHeaderFooterManager().setVisibilityOnTitleSlide(true);

sourcePres.getHeaderFooterManager().setFooterText("Aspose Slides");

Download

Apache POI SL

//presentation-scope headers / footers
HeadersFooters hf = ppt.getSlideHeadersFooters();
hf.setSlideNumberVisible(true);
hf.setFootersText("Created by POI-HSLF");

Download