iTextSharp Set content of ListBox?

Posted by Petoj on Stack Overflow See other posts from Stack Overflow or by Petoj
Published on 2010-05-19T15:01:10Z Indexed on 2010/05/20 5:50 UTC
Read the original article Hit count: 569

Filed under:
|
|

Well im trying to set the content of a ListBox but even if it returns true nothing happens..

PdfStamper stamper = new PdfStamper(reader, context.Response.OutputStream);

AcroFields fields = stamper.AcroFields;
bool result = fields.SetListOption("listbox", data.ToArray(), data.ToArray());

So what am i doing wrong the data never gets to the pdf?

© Stack Overflow or respective owner

Related posts about c#

Related posts about itextsharp