If I set HtmlWidth to a small value,the right side will be cut down.If I set HtmlWidth to a big value ,the font of the content will be very small. It seems ‘pd4ml.adjustHtmlWidth()’ doesn’t work effective.If I delete the statement ‘pd4ml.adjustHtmlWidth()’,the result is the same.
I’ve tried v3.9.3.
But there is still a problem with converting html to rtf.
I set the html width to a big value before I used pd4ml.adjustHtmlWidth(),the font size of the resulting rtf becomes very small.If I set the html width to a smaller value,the right margin will be cut.
I am confused that it’s normal to convert html to pdf, the content will auto wrap to a new line,but when I convert to rtf,the font size will be very small or right margin is cut off.
I hope it can auto wrap to a new line to fit to the page width when I convert a html to rtf , but the font size doesn’t become very small.
How can I solve it?
It’s urgent for us,please give us some advice.