当前位置:编程学习 > 网站相关 >>

使用Domino开发,如何在rtf里面通过程序插入图片

我在使用Domino的时候,通过AppendTable()创建了选项卡,我想在选项卡里面插入图片,貌似没法实现.

注:插入图片通过MimeEntity插入,MIME与RTF在同一个Doc里面不兼容,没法实现.


已经一周没有搞定了,求帮忙 --------------------编程问答-------------------- --------------------编程问答-------------------- --------------------编程问答-------------------- 看帮助,它根本不支持直接插图片的啊。
来自R6.5的帮助:
Writing in rich text items in LotusScript classes :
To create a new rich text item, use NotesDocument.CreateRichTextItem or the New method of NotesRichTextItem. These methods create an empty item. Use the methods that write to a rich text item to add content. See the topics that tell you how to:
 - Work with text
 - Work with attachments and embedded objects
 - Work with tables
 - Work with doclinks
 - Work with sections
By default, the insertion point for modifications is the end of an item. To change the insertion point, use BeginInsert and EndInsert.
After creating or modifying a rich text item, call the Save method of NotesDocument.
You can compact and update a rich text item.
Updates to rich text items accessed through NotesUIDocument are not immediately incorporated into the NotesUIDocument object. You must close and open the document to see the updates.
See Also
Accessing rich text items in LotusScript classes

--------------------编程问答-------------------- 楼上高手。。。。。学习了
补充:企业软件 ,  Lotus
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,