I want to remove the last line break … only Show the inserted table (with Content), see Image
Thanks for your help!
I want to remove the last line break … only Show the inserted table (with Content), see Image
Thanks for your help!
Hi Bernhard,
Thanks for your inquiry. Please try using the following code:
HeaderFooter hf = doc.FirstSection.HeadersFooters[HeaderFooterType.HeaderFirst];
hf.LastParagraph.Remove();
Hope, this helps.
Best regards,
Thank you very much, it works.