Link to Previous section option not working same like word document

Dear Support,


When i was set “Link to Previous” to false with below statement on Section2, its removing header and footer from section 2 onward but Link to Previous setting properly.

Doc.Sections[1].HeadersFooters.LinkToPrevious(false);

The same will do in word document, it’s not removing header and footer. it’s removing only linking to previous section.

Please find the attached source and destination documents for your reference.

Thanks.

Regards,
Shekar

Hi Shekar,


Thanks for your inquiry. Could you please elaborate your problem in more details and share the complete steps to reproduce this issue on my side. I will investigate the issue further on my side and provide you more information.

Moreover, passing a value of true to HeaderFooterCollection.LinkToPrevious method will cause all types of headers footers to be removed from this section if there are any and the headers and footers from the previous section to be displayed instead. Also, if any of the headers or footers do not exist in the current section, it creates them automatically. I hope, this helps.

Best regards,