Hi Ramzi,
Thank you for using Syncfusion products.
We have support for converting partial HTML to PDF using WebKit/Blink rendering engine in our HTML to PDF converter. We can convert a particular image, table, or div element as a PDF document instead of providing a whole HTML string, and then we have to parse a particular HTML element by specifying the element ID. We do not have support for converting partial HTML to pdf by specifying the XPath. We could not proceed further on this.
Please refer to the below UG link for partial HTML to PDF,
Please let us know if you need any further assistance with this.
Regards,
Gowthamraj K