How can I setthe font as hidden for Section break using interop C#
I have a section after which I have multiple section breaks which span across pages . I want to make the font hidden for the section breaks
Below is the pictorial representation of the section breaks
Currently my code looks something like this
app.Selection.Range.Find.Excecute(FindText: SectionBreak)
if the above condition is true
then I am setting
app.Selection.Range.Characters.Last.Font.Hidden =1;
But this is not working and also I need to iterate till the sectionbreak if present and make them hidden as well until we find a text content.
Please let me know how can we achieve it