从约会中获取HTML正文并再次修改和设置 [英] Get HTML Body From Appointment and modify and set again
问题描述
大家好,
我有一个Outlook插件应用程序,我正在创建约会(Outlook.AppointmentItem)使用插件。
I have one outlook plugin application where i am creating appointments (Outlook.AppointmentItem) using plugin.
在这里我希望通过代码预约html body,我使用Outlook.AppointmentItem obj.Body
得到它但它是用纯文本。
here I want to get appointment html body by code, I get it using Outlook.AppointmentItem obj.Body but it is in plain text.
如何我将以html格式获取正文(颜色内容)?
一旦我得到,将修改内容并想要在事件中设置修改后的内容" void Application_ItemSend(object Item,ref bool Cancel)"接收器将获得彩色修改的html内容而不是纯文本
Once I got, will modify content and want to set that modified content in the event "void Application_ItemSend(object Item, ref bool Cancel) " so receiver will get coloured modified html content not plain text
我需要立即帮助解决上述问题。
I need immediate help on above issue kindly help.
问候
Neeraj
Neeraj
推荐答案
Hello Neeraj,
Hello Neeraj,
您需要使用RTFBody属性。请参阅
是什么
是一个RTF语法超链接 用于RTF标记。
你也可以考虑使用Word对象模型来处理项目主体。在 章
17:使用项目主体 文章。
Also you may consider using the Word object model for dealing with item bodies. Read more about that in the Chapter 17: Working with Item Bodies article.
这篇关于从约会中获取HTML正文并再次修改和设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!