Series.PictureType property (PowerPoint)

Returns or sets a value that specifies how pictures are displayed on a column or bar picture chart. Read/write XlChartPictureType.

Syntax

expression.PictureType

expression A variable that represents a 'Series' object.

Example

The following example sets series one of the first chart in the active document to stretch pictures. You should run the example on a 2D column chart that has picture data markers.

Note

Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).PictureType = xlStretch

    End If

End With

See also

Series 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.