有没有办法仅在 PowerPoint 中将图像添加到幻灯片缩略图中

发布于 2024-09-11 22:19:51 字数 493 浏览 1 评论 0原文

我想将图像添加到左侧面板中的幻灯片缩略图中,但它不应显示在幻灯片中。

我找到了以下代码来将图像添加到幻灯片:

Microsoft.Office.Interop.PowerPoint.Shape viShape = slide.Shapes.AddPicture(
            lockImgFile,
            Microsoft.Office.Core.MsoTriState.msoFalse ,
            Microsoft.Office.Core.MsoTriState.msoTrue,
            ICON_X, ICON_Y,
            ICON_W, ICON_H);          

            viShape.ZOrder(Microsoft.Office.Core.MsoZOrderCmd.msoBringToFront);

但这不是我想要的,因为图像会显示在编辑窗格的幻灯片中。

I want to add an image to the slide thumbnail in left panel, but it should not show in the Slide.

I found the following code to add image to slide:

Microsoft.Office.Interop.PowerPoint.Shape viShape = slide.Shapes.AddPicture(
            lockImgFile,
            Microsoft.Office.Core.MsoTriState.msoFalse ,
            Microsoft.Office.Core.MsoTriState.msoTrue,
            ICON_X, ICON_Y,
            ICON_W, ICON_H);          

            viShape.ZOrder(Microsoft.Office.Core.MsoZOrderCmd.msoBringToFront);

but that's not I wanted because the image would show in the slide in the editing pane.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淑女气质 2024-09-18 22:19:51

你不能 - 左侧的缩略图只是大幻灯片的较小版本。您放在大幻灯片上的任何内容都会显示在缩略图上。

You cannot - the thumbnails on the left are just smaller versions of the big slide. Anything you put on the big slide will show on the thumbnail.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文