If you are using ITextRenderer for pdf creation from Html, then use its method setDocumentFromString(String html) which accepts string. instead of setDocument(Document, String Uri) because SetDocument method need Document as parameter and for that you have to parse html to Document first and standard parse method from DocumentBuilder is very slow.
Keine Kommentare:
Kommentar veröffentlichen