c# - Converting text content in a variable to pdf -
i have string variable named teststring
, contains content like
teststring="<span>hi test content</span>"
is there c# code copy contents in pdf file?
you can use itextsharp library produce pdf file html page.
itext ® library allows create , manipulate pdf documents. enables developers looking enhance web- , other applications dynamic pdf document generation and/or manipulation. developers can use itext to: serve pdf browser, generate dynamic documents xml files or databases, use pdf's many interactive features, add bookmarks, page numbers, watermarks, etc. split, concatenate, , manipulate pdf pages, automate filling out of pdf forms, add digital signatures pdf file, itext available in java in c#.
here simple tutorial started, export-html-div-contents-to-pdf-using-itextsharp
Comments
Post a Comment