Это ссылка Dropbox на исходный код HTML и результат PDF. : Ссылка
Соответствующий код C# довольно прост. Я также использую PdfSecurityManager, но не думаю, что это имеет отношение к этому вопросу
Код: Выделить всё
HtmlToPdf converter = new HtmlToPdf();
string html = "the HTML content"; //the content can be found on the link above.
PdfDocument doc = converter.ConvertHtmlString(html);
Подробнее здесь: https://stackoverflow.com/questions/788 ... border-css