开发者

Format the body of the outlook appointment item

I am trying to create an outlook appointment from an ASP.NET web site version 2.0. I am making use of the interface Microsoft.Office.Interop.Outlook to create the appointment. But my exact requirement is to display the body (description) of the appointment in HTML format (which includes images, links etc) instead of plain text. The only method I can see in the appointmentItem is ‘body’. This method only writes the plain text not the formatted HTML body.

So is there any alternate approach to format the description (body) of an appointment? Please help me 开发者_如何学Pythonout with this.


Did you tried something like

.Body = "{\rtf1\ansi\deff0{\fonttbl{\f0 Arial;}}{\colortbl ;\red0\green0\blue255;}\pard\cf1\f0\fs24 Test}"

Source : http://www.xtremevbtalk.com/archive/index.php/t-91618.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜