Partager via


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.

Version Information

Version Added: PowerPoint 2007

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 2-D 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

Concepts

Series Object

Series Object Members