Picture related procedures in class Shape (PowerPoint VBA)

This page presents procedures from class Shape related to the theme Picture: PictureFormat and ShapeRange.PictureFormat

PictureFormat

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

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

Dim pftPictureFormat As PictureFormat
Set pftPictureFormat = ActivePresentation.Slides(1).Shapes(1).PictureFormat

ShapeRange.PictureFormat

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

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

Dim pftPictureFormat As PictureFormat
Set pftPictureFormat = ActivePresentation.Slides(1).Shapes(1).Ungroup.PictureFormat