检测当前所选行的蓝色电子邮件回复 [英] Detect blue email reply at the current selected line

查看:128
本文介绍了检测当前所选行的蓝色电子邮件回复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想检测蓝色电子邮件回复行(见下图)是否在当前选定的行并执行某些操作。这有可能检测到它吗?我认为观察当前选择的ParagaphFormat可能有效。

I want to detect whether a blue email reply line (see picture below) is at the current selected line and do some action. Is this possible to detect it? I think observing the ParagaphFormat of the current selection could be work.

Jens

推荐答案

您好,

我相信您可以使用Word对象模型来检测蓝线。
WordEditor
Inspector类的属性返回表示消息正文的Document类的实例。请参阅

第17章:使用项目主体
以获取更多信息。

I believe you can use the Word object model to detect the blue lines. The WordEditor property of the Inspector class returns an instance of the Document class which represents the message body. See Chapter 17: Working with Item Bodies for more information.


这篇关于检测当前所选行的蓝色电子邮件回复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆