PictureFormat Object

Description

Contains properties and methods that apply to pictures and OLE objects. The LinkFormat object contains properties and methods that apply to linked OLE objects only. The OLEFormat object contains properties and methods that apply to OLE objects whether or not they're linked.

Using the PictureFormat Object

Use the PictureFormat property to return a PictureFormat object. The following example sets the brightness, contrast, and color transformation for shape one on myDocument and crops 18 points off the bottom of the shape. For this example to work, shape one must be either a picture or an OLE object.

Set myDocument = Worksheets(1)
With myDocument.Shapes(1).PictureFormat
    .Brightness = 0.3
    .Contrast = 0.7
    .ColorType = msoPictureGrayScale
    
Properties

Adjustments property, Application property, AutoShapeType property, BlackWhiteMode property, BottomRightCell property, Callout property, ConnectionSiteCount property, Connector property, ConnectorFormat property, ControlFormat property, Creator property, Fill property, FormControlType property, GroupItems property, Height property, HorizontalFlip property, Hyperlink property, Left property, Line property, LinkFormat property, LockAspectRatio property, Locked property, Name property, Nodes property, OLEFormat property, OnAction property, Parent property, PictureFormat property, Placement property, Rotation property, Shadow property, TextEffect property, TextFrame property, ThreeD property, Top property, TopLeftCell property, Type property, VerticalFlip property, Vertices property, Visible property, Width property, ZOrderPosition property.

Methods

Apply method, Copy method, CopyPicture method, Cut method, Delete method, Duplicate method, Flip method, IncrementLeft method, IncrementRotation method, IncrementTop method, PickUp method, RerouteConnections method, ScaleHeight method, ScaleWidth method, Select method, SetShapesDefaultProperties method, Ungroup method (Shape or ShapeRange object), ZOrder method.