Div element not supported in HTML to PDF

Hi,

We are trying to generate pdf using aspose.pdf tool and facing issue during generating pdf using html which contains

,

and some inline styles for fonts.

Is aspose tool support this kind of element during generating pdf from html.

Thanks,
Paras

Hi Paras,


Thanks for your inquiry. Please use DOM approach for HTML to PDF conversion, it supports the
,

and inline styles as well. Hopefully it will resolve the issue. If issue persist then please share your HTML, so we will look into it and guide you accordingly.


Please feel free to contact us for any further assistance.

Best Regards,

Hi,

I have try to use DOM approach as you suggested.But it gives me error of :-
Unable to cast object of type ’ .\a \a’ to type ’ . '.

I am using v9.8.0.

Please help me on this issue.

ParasJ:
Hi,

I have try to use DOM approach as you suggested.But it gives me error of :-
Unable to cast object of type ’ .\a \a’ to type ’ . '.

I am using v9.8.0.

Please help me on this issue.
Hi Paras,

Please share the resource HTML/sample project so that we can test the scenario in our environment. We are sorry for this inconvenience.