如何在 PowerPoint 中设置幻灯片背景的 MirrorType/Stretch 选项
我可以导出背景图像,但是,当我将背景设置为平铺时,“镜像类型”选项默认设置为“两者”。我想将其设置为“无”,并且我希望能够在“拉伸”选项中设置一些偏移。
我已将 2010 类型库导入 Delphi,但我似乎无法在任何地方找到这些选项。 2010年我也尝试过使用宏,但似乎仍然看不到它。我尝试了一些我认为是 strecth 选项的选项,例如 Left/IncrementLeft 等,但我不断收到异常,例如:
“ShapeRange(未知成员):无效请求。此操作无法应用于背景形状。”
这是我现在正在做的事情:
Slide.Background.Fill.UserPicture('C:\Path\To\Image.jpg')
if DoTile Then
begin
Slide.Background.Fill.TextureTile := msoTrue
// need to set Mirror type to none
end
else
// need to change some of the stretch offsets
I can get the background image exported, however, when I set the background to tiled the "Mirror Type" option is set to "Both" by default. I want to set this to "None" and I want to be able to set some of the Offsets in the Stetch options.
I have imported the 2010 Type Library into Delphi but I can't seem to find these options anywhere. I also tried messing about with Macros in 2010 but still couldn't seem to see it. I tried some options which I thought were the strecth options e.g. Left/IncrementLeft etc but I just kept getting exceptions like:
"ShapeRange (unknown member): Invalid Request. This operation can't be applied to a background shape."
Here is what I am doing at the moment:
Slide.Background.Fill.UserPicture('C:\Path\To\Image.jpg')
if DoTile Then
begin
Slide.Background.Fill.TextureTile := msoTrue
// need to set Mirror type to none
end
else
// need to change some of the stretch offsets
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论