We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Header & Footer

How can I change header & footer in slides?

Dear ivica,

Use Slide.HeaderFooter property to manipulate header footer of a slide. Below is such a code snippet.

Presentation dstPres = new Presentation("srcFootNotes1.ppt");

Slide fstSlide = dstPres.GetSlideByPosition(1);

fstSlide.HeaderFooter.IsFooterVisible = true;

fstSlide.HeaderFooter.FooterText = "First Slide Footer";

Slide sndSlide = dstPres.GetSlideByPosition(2);

sndSlide.HeaderFooter.IsFooterVisible = true;

sndSlide.HeaderFooter.FooterText = "Second Slide Footer";

dstPres.Write("outFootNotes.ppt");

But I see no such metod as FooterText(). Note: I’m using Aspose.slides for Java.

Dear ivica,

There is no write access of HeaderFooter properties in Java version of Aspose.Slides. I will request for this enhancement.

Dear ivica,

Please check the new Aspose.Slides 1.7.0.0 for Java with the read/write access of Header Footer properties.