편집

다음을 통해 공유


Point object (PowerPoint)

Represents a single point in a series in a chart.

Remarks

The Point object is a member of the Points collection. The Points collection contains all the points in one series.

Example

Note

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

Use Points (index), where index is the point index number, to return a single Point object. Points are numbered from left to right on the series. Points(1) is the leftmost point, and Points(Points.Count) is the rightmost point. The following example sets the marker style for the third point in series one for the first chart in the active document. The specified series must be a 2D line, scatter, or radar series.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).Points(3).MarkerStyle = xlDiamond

    End If

End With


See also

PowerPoint Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.