User-1391509671 posted
thanks to
Nan Yu, the answers will be like this.
public class pdfPage : iTextSharp.text.pdf.PdfPageEventHelper
{
public string TextBoxValue{ get; set; }
public override void OnStartPage(PdfWriter writer, Document doc)
{}
public override void OnEndPage(PdfWriter writer, Document doc)
{}
}
set value:
//create an instance of your PDFpage class. This is the class we generated above.
pdfPage page = new pdfPage();
page.TextBoxValue = TextBox1.ToString();
And in "OnStartPage" function ,you could get SelectValue by
var value = TextBoxValue;
Source: http://forums.asp.net/p/2059555/5941960.aspx?p=True&t=635731564787543437