ItextSharp Error on trying to parse html for pdf conversion

`HTMLWorker’ has been deprecated in favor of XMLWorker. Here is a working example tested with a snippet of HTML like you used above: StringReader html = new StringReader(@” <div style=”font-size: 18pt; font-weight: bold;”> Mouser Electronics <br />Authorized Distributor</div><br /> <br /> <div style=”font-size: 14pt;”>Click to View Pricing, Inventory, Delivery & Lifecycle Information: </div> <br /> … Read more