@alexey.noskov I want use link to previous property using below code
foreach (Section section in doc.Sections)
{
if (i != 0)//Condition for omitting first section
{
foreach (HeaderFooter hf in section.GetChildNodes(NodeType.HeaderFooter, true))
{
if (hf.IsLinkedToPrevious == false)
{
hf.IsLinkedToPrevious = true;
}
}
}
i++;
}
above code work only header section in footer section are reflected out put document Please verify document
Document.docx (27.2 KB)