Upravit

Sdílet prostřednictvím


Shape.PictureFormat property (Word)

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

Syntax

expression.PictureFormat

expression A variable that represents a Shape object.

Remarks

This property applies to Shape 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.

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

See also

Shape Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.