< HR>行显示为损坏的图像链接 [英] <HR> line displaying as broken image link
问题描述
foreach (Word.InlineShape inlineShape in wdapp.ActiveDocument.InlineShapes)
{
Debug.WriteLine(string.Format("InlineShape {0}", inlineShape.AlternativeText));
if (inlineShape.Type == Word.WdInlineShapeType.wdInlineShapeHorizontalLine)
{
Debug.WriteLine("wdInlineShapeHorizontalLine")
}
if (inlineShape.LinkFormat != null)
{
Debug.WriteLine(string.Format("SourcePath {0}", inlineShape.LinkFormat.SourcePath));
Debug.WriteLine(string.Format("SourceName {0}", inlineShape.LinkFormat.SourceName));
inlineShape.LinkFormat.SavePictureWithDocument = true;
Debug.WriteLine("Saved");
}
作为原始HTML的一部分,有一个HR换行符。这将转换为wdInlineShapeHorizontalLine,它在任何Outlook客户端中都可以作为RichText电子邮件显示,但是如果在OWA中查看RichText电子邮件,则换行符将显示为带有
断开链接的图像。无论如何围绕这个?
As part of the original HTML there is a HR line break. This converts as a wdInlineShapeHorizontalLine which displays fine in any Outlook client as a RichText email however if the RichText email is viewed in OWA the line break is displayed as an image with a
broken link. Is there anyway round this?
推荐答案
您好BeMor,
Hi BeMor,
感谢您在MSDN论坛上发帖。
Thanks for posting in the MSDN Forum.
我将涉及一些专家进入你的问题,看看他们是否可以帮助你。可能会有一些时间延迟,请耐心等待。
I will involve some experts into your issue to see whether they can help you. There might be some time delay, appreciate for your patience.
祝你有个美好的一天,
Tom
这篇关于< HR>行显示为损坏的图像链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!