Hi,
I have used "Text" object for HTML rendering. The HTML can contain tags with invalid path or non-existant image. This causes the code to break. Any Ideas how to resolve this?
With regards,
Rajat Nayyar
Hi,
I have used "Text" object for HTML rendering. The HTML can contain tags with invalid path or non-existant image. This causes the code to break. Any Ideas how to resolve this?
With regards,
Rajat Nayyar
Hi Rajat,
In order to test the scenario, I have used the following simple HTML contents and I am unable to notice any issue. Can you please share the source HTML that you are using or update the following contents so that I can reproduce the problem over my end. We apologize for this inconvenience.
[HTML]
<HTML>
<body>
<img src=“d:<span class=“attr”>pdftest<span class=“attr”>logo.png” alt=“Angry face” />
</body>
</HTML>
Hi,
Please find the code enclosed. Here Image tag refers to a Web URL which does not exist and causes it to break.
Dim objBookMarkLInk As New Text("check this out")
objBookMarkLInk.IsHtmlTagSupported = True
objBookMarkLInk.ID = "FirstPage"
objSectionForEntirePage3.Paragraphs.Add(objBookMarkLInk)
with regards,
Rajat Nayyar
Hi Rajat,
I
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as <span style=“font-family:“Arial”,“sans-serif””>PDFNEWNET-30559. We
will investigate this issue in details and will keep you updated on the status
of a correction.<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””><span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””>
We
apologize for your inconvenience.