Share via


Shape.PictureFormat Property

PowerPoint Developer Reference

Returns a PictureFormat object that contains picture formatting properties for the specified shape. Read-only.

Syntax

expression.PictureFormat

expression   A variable that represents a Shape object.

Return Value
PictureFormat

Remarks

This property applies to Shape or ShapeRange objects that represent pictures or OLE objects.

Example

This example sets the brightness and contrast for shape one on myDocument. Shape one must be a picture or an OLE object.

Visual Basic for Applications
  Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(1).PictureFormat
    .Brightness = 0.3
    .Contrast = .75
End With

See Also