How to set the cell width in itextsharp pdf creation in MVC4 Razor
问题 Here im try to set a table cell width using itextsharp pdf creation but im facing trouble to make it since im using html table as string my code: public ActionResult FormSixteen(EmployeeFormSixteenModel objEmployeeFormSixteenModel) { string htmlTable = string.Empty; htmlTable = htmlTable + "<table><tr><td>S.no</td><td>Head Name</td>Amount<td></td></tr><tr><td>1</td><td>Gross Salary</td>xxxx<td></td></tr></table>"; Document document = new Document(); Response.ContentType = "application/pdf";