使用C#中的Microsoft.Office.Interop.PowerPoint.dll访问PowerPoint演示文稿的PictureFill属性 [英] Accessing the PictureFill properties of PowerPoint presentation using Microsoft.Office.Interop.PowerPoint.dll in C#

查看:614
本文介绍了使用C#中的Microsoft.Office.Interop.PowerPoint.dll访问PowerPoint演示文稿的PictureFill属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在interop PowerPoint中使用PictureFill的以下突出显示的属性。我在C#中尝试这个。我发现以下代码使用Fill属性设置幻灯片背景。

I need to use the below highlighted properties of PictureFill in interop PowerPoint. I am trying this in C#. I found the below codes to set the slide background using Fill property.


slide = presentation.Slides [1];


slide.FollowMasterBackground =
MsoTriState .msoFalse;           

slide.Background.Fill.UserPicture( " Image.jpg" ; );

现在图片被拉伸并居中对齐。但我无法访问下面屏幕截图中突出显示的界限,

Now the picture is stretched and center aligned. But I could not access the bounds as highlighted in the below screenshot,

我希望任何API如下所示。

I expect any API to be as below.

slide.Background.Fill.TextureTile = MsoTriState.msoFalse; //我希望这是设置上面屏幕截图中的复选框(平铺图片为
纹理)

slide.Background.Fill.OffSetLeft //
我找不到此API

slide.Background.Fill.OffSetRight //
我找不到这个API

slide.Background.Fill。 OffSetTop //
我找不到此API

slide.Background.Fill.OffSetBottom //
I找不到这个API

谢谢,

Meikandan

Meikandan

Meikandan

Meikandan

推荐答案

Hi Meikandan,

Hi Meikandan,

此论坛的目的是支持开放规范文档。您可以在
https://msdn.microsoft.com/en-us/openspecifications/default 。开放式图书馆规范文档位于
https://msdn.microsoft。 com / library / dd208104.aspx

The purpose of this forum is to support the Open Specifications documentation. You can read about the Microsoft Open Specifications program at https://msdn.microsoft.com/en-us/openspecifications/default. The library of Open Specification documents is located at https://msdn.microsoft.com/library/dd208104.aspx.

 

您的查询似乎不是一个开放的规范问题,因此我们建议您尝试以下方法之一:

Your query does not appear to be an open specification question, therefore we suggest trying one of the following:


  1. 打开一个新的Visual Studio Tools for Office论坛上的帖子:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=vsto&filter=alltypes&sort=lastpostdesc
  2. 选择' IT专业人员和开发人员 按以下链接支付支持:
    https://support.microsoft.com/en-us/gp/support-商家选项 

谢谢,


这篇关于使用C#中的Microsoft.Office.Interop.PowerPoint.dll访问PowerPoint演示文稿的PictureFill属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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