I have the following definition (asp.net):

       

   string pathPDF = System.Web.HttpContext.Current.Server.MapPath("~/commande 
en ligne/devis_pdf/devis.pdf");

        PdfReader reader = new PdfReader(pathPDF);

 

        string newFile = 
System.Web.HttpContext.Current.Server.MapPath("~/commande en 
ligne/devis_pdf/devis_" + (string)Session["Ref_String"] + ".pdf");

        PdfStamper stamper = new PdfStamper(reader, new FileStream(newFile, 
FileMode.Create ));

 

        Response.ContentType = "application/pdf";

        Response.AddHeader("Content-disposition", "attachment; filename=" + 
pathPDF);

 

 

        fields.SetField("pdf_nombreconvives",   lbl_013.Text);

        fields.SetField("pdf_dateheure",        lbl_011.Text + " " + 
lbl_012.Text);

        fields.SetField("pdf_montosupple",      monto_supple.Text);

        fields.SetField("pdf_montopaellas",     monto_paella.Text);

        fields.SetField("pdf_montototal",       monto_total.Text);

 

        fields.SetField("pdf_msg_monto_supple", lbl_009.Text);      ß Field 
defined as text-rich in  “Adobe LiveCycle Designer”

 

However, I receive in the field pdf_msg_monto_supple the following string “Ce 
service aura une charge <b>supplémentaire</b> de : <b>32,13 € </b> étant donné 
que <b>votre adresse</b> est située à <b>53,54 Km</b> de la <b>notre</b>.”, 
which obviously is not a text-rich.

I would like to know if iTextSharp supports the field text-rich and if so, 
which would be the right definition so that it shows the field correctly.

 

Thanks for your help

Regards

 

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to