Author: maduranga001 | Posted on: 12/20/2008 8:45:27 AM | Views : 493

 I want ot create a pdf.But I want to save my html code to the pdf.I used iTextSharp.dll as my reference (4.1.2.0).It is working fine.But I cant apply ny style to this.I highlighted that area.What should I do?I not need to show that line on the absolute position(0px,0px).As an example I want to shift it 200px from the top and 400px from the left(400,200).My Span area should go down and right.
Please advice me how to do this.

using iTextSharp.text;
using iTextSharp.text.pdf;
using System.IO;
using iTextSharp.text.html;
 
public  void CreatePDFDocument(String strFilePath, String strContent)
        {
            Document document = new Document(PageSize.A4, 400, 400, 400, 450);
           
            &nb ...

Go to the complete details ...