Share via


Series.PictureType Property

Returns or sets a [XlChartPictureType#SameCHM] value that represents the way pictures are displayed on a column or bar picture chart.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property PictureType As XlChartPictureType
    Get
    Set
'Usage
Dim instance As Series
Dim value As XlChartPictureType

value = instance.PictureType

instance.PictureType = value
XlChartPictureType PictureType { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.XlChartPictureType

Examples

This example sets series one of the first chart in the active document to stretch pictures. The example should be run on a 2-D column chart with picture data markers.

With ActivePresentation.Slides(1).Shapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).PictureType= xlStretch

    End If

End With

See Also

Reference

Series Interface

Series Members

Microsoft.Office.Interop.PowerPoint Namespace