Skip to content

Files

Latest commit

 

History

History
40 lines (26 loc) · 968 Bytes

Excel.Shape.PictureFormat.md

File metadata and controls

40 lines (26 loc) · 968 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Shape.PictureFormat property (Excel)
vbaxl10.chm636106
vbaxl10.chm636106
Excel.Shape.PictureFormat
35a910e8-beac-e4e0-4862-20980d9d633c
05/14/2019
medium

Shape.PictureFormat property (Excel)

Returns a PictureFormat object that contains picture formatting properties for the specified shape. Applies to a Shape object that represents pictures or OLE objects. Read-only.

Syntax

expression.PictureFormat

expression A variable that represents a Shape object.

Example

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

Set myDocument = Worksheets(1) 
With myDocument.Shapes(1).PictureFormat 
 .Brightness = 0.3 
 .Contrast = .75 
End With

[!includeSupport and feedback]