C# 如何在可渲染列中显示HTML内容
我正在做一个项目,在那里我需要显示一个PDF和它的一些内容 我正在使用C# 如何在可渲染列中显示HTML内容,c#,html,pdf,C#,Html,Pdf,我正在做一个项目,在那里我需要显示一个PDF和它的一些内容 我正在使用PdfExporter生成PDF并可渲染以显示不同的内容 现在我想在pdf上显示一些HTML内容 我是这样做的 RenderTable table = new RenderTable(); var titleRow = table.Rows[0]; titleRow[0].Text = "<b>Hello</b>"; doc.Body.Children.Add(table); //here doc is
PdfExporter
生成PDF并可渲染以显示不同的内容
现在我想在pdf上显示一些HTML内容
我是这样做的
RenderTable table = new RenderTable();
var titleRow = table.Rows[0];
titleRow[0].Text = "<b>Hello</b>";
doc.Body.Children.Add(table); //here doc is C1PrintDocument
RenderTable=newrendertable();
var titleRow=表.行[0];
标题栏[0]。Text=“你好”;
单据体、子项、新增(表)//这是一份打印文件
这是行不通的。
pdf上的文本显示为Hello
,但我希望它显示为Hello
有什么帮助吗?
输出$example请解释只发布代码的代码
output$example <- renderTable({
table <- someTable_Data_here
table
}, sanitize.text.function = function(x) x)