我使用Telerik获得PDF输出。我想证明这篇文章是正确的。
c#
"<p style='text-align:center;'>" + result + "</p>" -->work
"<p style='text-align:left; '>" + result + "</p>" -->work
"<p style='text-align:right;'>" + result + "</p>" -->work
"<p style='text-align:justify;'>" + result + "</p>" --> don't work以pdf文件为中心的文本。
<p style='text-align:center;'>" + result + "</p>" -->work

telerik设置: telerik不支持文本证明。我必须证明这篇文章是正确的,我该怎么做呢?http://docs.telerik.com/devtools/silverlight/controls/radrichtextbox/import-export/features-html-support http://www.telerik.com/help/reporting/report-items-html-text-box.html

发布于 2015-10-09 03:23:20
var cTyp = dt.Columns[i].DataType.ToString();
if (cTyp == "System.Decimal")
{
textboxGroup.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
textBoxTable.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
}https://stackoverflow.com/questions/28039510
复制相似问题