Table of contents
TOC
Collapse the table of content
Expand the table of content

Series.PictureType Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

© 2018 Microsoft