Поделиться через


Series.PictureUnit2 Property (Word)

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.

Version Information

Version Added: Word 2007

Syntax

expression .PictureUnit2

expression A variable that represents a Series object.

Example

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 Members

Series Object