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

Series.PictureUnit2 Property (PowerPoint)

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

Returns or sets the unit for each picture on the chart if the PictureType property is set to xlStackScale; otherwise, this property is ignored. Read/write Double.

Syntax

expression. PictureUnit2

expression A variable that represents a Series object.

Example

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

The following example sets series one for the first chart in the active document to stack pictures and uses each picture to represent five units. You should run the example on a 2-D column chart that has picture data markers.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        With .Chart.SeriesCollection(1)

            .PictureType = xlScale

            .PictureUnit2 = 5

        End With

    End If

End With

See also

Concepts

Series Object

© 2018 Microsoft