如何将软边应用于 Outlook 电子邮件照片
How to apply softedges to an Outlook email photo
问题所在 - 我有一封来自 Excel 的自动生成电子邮件,它在 table 中设置了电子邮件中的两个图像。我希望这两个图像具有软边。使用VBA解决邮件中的问题,我该怎么做?
我认为必须显示电子邮件然后修改 shape.softedges.type = msoSoftEdgeType2
有什么想法吗?
您可以使用Word对象模型修改邮件正文。 MSDN 中的WordEditor property of the Inspector class returns an instance of the Word Document class which represents the message body. You can read more about all possible ways in the Chapter 17: Working with Item Bodies。
Word 对象模型中的 Shape class 提供 SoftEdge property which returns a SoftEdgeFormat object that represents the soft edge formatting for a shape. The SoftEdgeFormat class provides the Type 属性 其中 returns 或设置表示图像边缘斜角类型的 MsoBevelType 常量使用软边格式。
问题所在 - 我有一封来自 Excel 的自动生成电子邮件,它在 table 中设置了电子邮件中的两个图像。我希望这两个图像具有软边。使用VBA解决邮件中的问题,我该怎么做?
我认为必须显示电子邮件然后修改 shape.softedges.type = msoSoftEdgeType2
有什么想法吗?
您可以使用Word对象模型修改邮件正文。 MSDN 中的WordEditor property of the Inspector class returns an instance of the Word Document class which represents the message body. You can read more about all possible ways in the Chapter 17: Working with Item Bodies。
Word 对象模型中的 Shape class 提供 SoftEdge property which returns a SoftEdgeFormat object that represents the soft edge formatting for a shape. The SoftEdgeFormat class provides the Type 属性 其中 returns 或设置表示图像边缘斜角类型的 MsoBevelType 常量使用软边格式。