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

Free Support Forum - aspose.com

HeaderFooter in release 2.9.0.0

The HeaderFooter property of Slide is always null in release 2.9.0.0. Could this be somehow initialized ?

Dear Thuc,

I found, HeaderFooter is ok. This is the code, it prints not null if headerfooter is not null or prints null if it is. And the output of code prints not null.

Presentation pres = new Presentation();//@"c:\source\source.ppt");

Slide sld = pres.GetSlideByPosition(1);

HeaderFooter hft = sld.HeaderFooter;

if (hft != null)

Console.WriteLine("not null");

else

Console.WriteLine("null");

hft = null;

Slide sld2 = pres.AddEmptySlide();

hft = sld2.HeaderFooter;

if (hft != null)

Console.WriteLine("not null");

else

Console.WriteLine("null");

Dear Faiz,

Thank you for your response. I was not specific enough in my question, terribly sorry.
I meant the HeaderFooter in the first Master slide of a presentation is null, and can not be initialized.

Could you please check at your site?

Please see one my post here.

https://forum.aspose.com/t/101185

Thank you for your information.