0

I had tried to use the following line to add an empty line in itext7:

doc.add(CHUNK.Newline)

This works in iTextSharp but not in itext7. What should I use here?

Alperen
  • 3,772
  • 3
  • 27
  • 49
gane
  • 1
  • 2
  • 4
    I've removed your `visual-studio` tag for you. It is only meant for tags relating to issues with Visual Studio itself, not code that was written in Visual Studio. Please read the tag usage descriptions (see [tagging](https://stackoverflow.com/help/tagging) for more info) so that you don't misuse tags in future. – ProgrammingLlama Jun 15 '18 at 05:56
  • 1
    Check this: [iText7: How to add a full line break?](https://developers.itextpdf.com/content/best-itext-questions-stackoverview/getting-started/itext7-how-add-full-line-break) – Maciej Los Jun 15 '18 at 06:12
  • 3
    Possible duplicate of [What is the replacement for Chunk.NEWLINE in itext7](https://stackoverflow.com/questions/50818091/what-is-the-replacement-for-chunk-newline-in-itext7) – Amedee Van Gasse Jun 15 '18 at 06:20

0 Answers0