which Class or namespace must add for use Class StyleAttrCSSResolver in itextSharp?
问题 I want that use itextSharp for convert html to pdf. and I want have a specific style in my pdf. I want that all pdf files follow a specific CSS class. but I don't know which namespace I must add that complier khnow StyleAttrCSSResolver class? please guide me! 回答1: That class is located here. Also you need to add a reference to the xmlworker assembly: PM> Install-Package itextsharp.xmlworker 回答2: Also available in "Friendly Nuget Packages" now http://www.nuget.org/packages/itextsharp.xmlworker