Table of contents
TOC
折叠目录
展开目录

Shape.PictureFormat 属性 (PowerPoint)Shape.PictureFormat Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回一个PictureFormat对象,该对象包含图片格式指定形状的属性。只读的。Returns a PictureFormat object that contains picture formatting properties for the specified shape. Read-only.

语法Syntax

表达式PictureFormatexpression. PictureFormat

表达式_一个表示一个Shape对象的变量。_expression A variable that represents a Shape object.

返回值Return Value

PictureFormatPictureFormat

注解Remarks

此属性适用于形状ShapeRange对象表示图片或 OLE 对象。This property applies to Shape or ShapeRange objects that represent pictures or OLE objects.

示例Example

本示例设置第一个形状的对比度与亮度上myDocument。第一个形状必须是图片或 OLE 对象。This example sets the brightness and contrast for shape one on myDocument. Shape one must be a picture or an OLE object.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(1).PictureFormat

    .Brightness = 0.3

    .Contrast = .75

End With

另请参阅See also

概念Concepts

Shape 对象Shape Object

© 2018 Microsoft