Adding a New Line in iTextSharp

后端 未结 10 1665
伪装坚强ぢ
伪装坚强ぢ 2021-02-19 00:36

I’ve been trying to solve this problem for a while now to no avail. I have some text in iTextSharp I’m trying to put on a newline. I’ve tried using the \\n escape c

10条回答
  •  我在风中等你
    2021-02-19 01:03

    This works perfectly for me.

    Dim chunkNewLine As Chunk = New Chunk(Chunk.NEWLINE)
    Dim addressPhrase As New Phrase
    addressPhrase.Add(chunkNewLine)
    

提交回复
热议问题