I want to create a pdf file. And it has a long sentence that it won't fit in 1 line.

Which method can I use to continue from the new line when the sentence to be added in the cell to continue from the new line.

//PdfPCell txt = new PdfPCell(new Phrase(text));
        PdfPCell txt = new PdfPCell(new Paragraph(text, font));
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.