Hello. Is there any form to get the format of the text written in a RichTextArea?
For example, I want to get the font type, size, and so forth. I need those values to pass them to a PDF writer, so that the text of the PDF is in the same format than in the RichTextArea.
I am using iText and this is an example:
Paragraph paragraph = new Paragraph();
//The value of font should be the font of the text written in the RichTextArea
paragraph.add(new Chunk(text,font));
document.add(paragraph);
Thank you.