PictureFormat Interface
Contains properties and methods that apply to pictures and OLE objects.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
<GuidAttribute("9149347D-5A91-11CF-8700-00AA0060263B")> _
Public Interface PictureFormat
'Usage
Dim instance As PictureFormat
[GuidAttribute("9149347D-5A91-11CF-8700-00AA0060263B")]
public interface PictureFormat
Examples
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 = ActivePresentation.Slides(1)
With myDocument.Shapes(1).PictureFormat
.Brightness = 0.3
.Contrast = 0.7
.ColorType = msoPictureGrayScale
.CropBottom = 18
End With