[英]how to remove spacing in table when i am converting html to pdf
remove spacing to table when i convert it html to PDF its take space and its taking space only in PDF not in html remove spacing to table when i convert it html to PDF its take space and its taking space only in PDF not in html 当我将html转换为PDF时,删除表的间距仅当PDF不在html时将表格转换为html时,将空格转换为表的间距
URL :- [ http://designmyplanner.com/dev/planners/testpdf] 网址:-[ http://designmyplanner.com/dev/planners/testpdf]
print screen :- [ http://prntscr.com/f1rg13] 打印屏幕:-[ http://prntscr.com/f1rg13]
If You are using HTML AGILITY PACK
or another Method
to parse your HTML before converting. 如果您使用HTML AGILITY PACK
或其他Method
在转换之前解析HTML。 Use : 采用 :
string=System.Text.RegularExpressions.Regex.Replace(string,pattern, replacement); string = System.Text.RegularExpressions.Regex.Replace(字符串,模式,替换);
or 要么
string = string.Trim(); 字符串= string.Trim();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.