You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/PDF/Conversions/HTML-To-PDF/NET/features.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2219,6 +2219,8 @@ htmlConverter.Close()
2219
2219
2220
2220
{% endtabs %}
2221
2221
2222
+
N> Our HTML to PDF converter is thread-safe and suitable for multi-threaded environments without synchronization conflicts or data corruption. However, when the [ReuseBrowserProcess](https://help.syncfusion.com/cr/document-processing/Syncfusion.HtmlConverter.HtmlToPdfConverter.html#Syncfusion_HtmlConverter_HtmlToPdfConverter_ReuseBrowserProcess) property is `enabled`, the same HtmlToPdfConverter instance must be reused across threads, which involves sharing a single browser process. This makes it not thread-safe unless proper synchronization mechanisms, such as locks, are used to serialize access. `Disabling ReuseBrowserProcess` allows true parallelism with isolated browser instances per thread.
2223
+
2222
2224
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/HTML%20to%20PDF/Blink/Optimize-HTML-to-PDF-performance).
## Hyperlinks appearances do not navigate to their referenced URLs when using `CreateTemplate` and `DrawPdfTemplate` methods
655
+
656
+
<table>
657
+
<thstyle="font-size:14px"width="100px">Issue
658
+
</th>
659
+
<thstyle="font-size:14px">Hyperlinks appearances do not navigate to their referenced URLs when using `CreateTemplate` and `DrawPdfTemplate` methods
660
+
</th>
661
+
662
+
<tr>
663
+
<thstyle="font-size:14px"width="100px">Reason
664
+
</th>
665
+
<td>The <b>CreateTemplate</b> and <b>DrawPdfTemplate</b> methods generally do not import annotation details, including hyperlink information, from the original PDF document. This means that while the visual appearance of a hyperlink (blue, underlined text) might be preserved, the underlying functionality of navigating to the URL is not transferred.
666
+
</td>
667
+
</tr>
668
+
669
+
<tr>
670
+
<thstyle="font-size:14px"width="100px">Solution
671
+
</th>
672
+
<td>A workaround involves manually extracting and re-applying hyperlink annotations. This can be achieved by following these steps:<br>
673
+
1.<b>Extract Annotations</b>: Before creating and drawing the PDF template, extract all annotations, specifically hyperlink annotations, from the original PDF document.<br>
674
+
2.<b>Draw PDF Template</b>: Use the CreateTemplate and DrawPdfTemplate methods to draw the PDF content into a new document.<br>
675
+
3.<b>Incorporate Annotations</b>: After the template has been drawn, programmatically add the extracted hyperlink annotations to the corresponding positions in the new document. This will restore the interactive functionality of the hyperlinks.<br>
676
+
Please refer to the sample project: <ahref="https://github.com/SyncfusionExamples/PDF-Examples/tree/master/HTML%20to%20PDF/Blink/HTMLtoPDF_Hyperlink/.NET">HTML-to-PDF-Hyperlink</a>
677
+
</td>
678
+
</tr>
679
+
</table>
655
680
656
681
## ERROR:The specified module could not be found in windows server 2012 R2
657
682
@@ -1381,7 +1406,7 @@ This issue may occur due to one of the following reasons:<br>
0 commit comments