Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Text box not allowing more than 500 characters issue

$
0
0
I am converting html to pdf using the below code. But the input textbox in the generated pdf is not allowing to enter more than 500 characters. Is there any way to get rid of this limit?

 var pdf = new Aspose.Pdf.Generator.Pdf();

 var finalHtml = GetHtml("<input  type='text' class='comment-box' />");

         var txt = new Aspose.Pdf.Generator.Text(finalHtml);

        txt.IsHtmlTagSupported = true;

        pdf.Sections.Add().Paragraphs.Add(txt);

 

       var response = System.Web.HttpContext.Current.Response;

        response.Clear();

 

       var filename = "Goals - " + utbEmployee.SelectedItem.Text + ".pdf";

        pdf.Save(filename, Aspose.Pdf.Generator.SaveType.OpenInAcrobat, response);


Viewing all articles
Browse latest Browse all 3131

Trending Articles