Xessa 0 Junior Poster in Training 15 Years Ago 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. java 0 0 Share quuba 81 Posting Pro 15 Years Ago Copy to Clipboard//PdfPCell txt = new PdfPCell(new Phrase(text)); PdfPCell txt = new PdfPCell(new Paragraph(text, font)); 0 0 Share Share Facebook Twitter LinkedIn Reply to this topic 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. Sign Up — It's Free!
quuba 81 Posting Pro 15 Years Ago Copy to Clipboard//PdfPCell txt = new PdfPCell(new Phrase(text)); PdfPCell txt = new PdfPCell(new Paragraph(text, font)); 0 0 Share