4

我目前正在使用 VSTO 在 C# 中创建一个 powerpoint 文件。我的问题是我需要在文本框中显示 HTML 格式的文本:

PowerPoint.Shape descriptionTitle = slide6.Shapes.AddTextbox(xxx);
descriptionTitle.TextFrame.TextRange.Text = "<b>html string</b>";

有什么办法可以显示我的字符串?

4

0 回答 0