包含应用于图片和 OLE 对象的属性和方法。
示例
使用 PictureFormat 属性返回一个 PictureFormat 对象。 下例设置了 myDocument 中第一个形状的亮度、对比度和颜色的变换,而且在该形状的底部裁剪了 18 磅。 要使此示例执行,则第一个形状必须是图片或 OLE 对象。
Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(1).PictureFormat
.Brightness = 0.3
.Contrast = 0.7
.ColorType = msoPictureGrayScale
.CropBottom = 18
End With
方法
| 名称 |
|---|
| IncrementBrightness |
| IncrementContrast |
属性
| 名称 |
|---|
| Application |
| 亮度 |
| ColorType |
| 对比度 |
| Creator |
| 裁剪 |
| CropBottom |
| CropLeft |
| CropRight |
| CropTop |
| Parent |
| TransparencyColor |
| TransparentBackground |
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。