Class Point (PowerPoint VBA)

The class Point represents a single point in a series in a chart.


Dim pnt as Point
Set pnt = ActiveWindow.RangeFromPoint.Nodes(1).Points(Index:=1)

Methods

ApplyDataLabels - Applies data labels to a point.

ClearFormats - Clears the formatting of the object.

Copy - If the point has a picture fill, copies the picture to the Clipboard.

Delete - Deletes the object.

Paste - Pastes a picture from the Clipboard as the marker on the selected point.

PieSliceLocation - Returns the vertical or horizontal position, in points, of a point on a chart item from the top or left edge of the object to the top or left edge of the chart area.

Select - Selects the object.

Properties

ApplyPictToEnd true if a picture is applied to the end of the point or all points in the series.

ApplyPictToFront true if a picture is applied to the front of the point or all points in the series.

ApplyPictToSides true if a picture is applied to the sides of the point or all points in the series.

DataLabel returns the data label associated with the point.

Explosion returns or sets the explosion value for a pie-chart or doughnut-chart slice.

Format returns the line, fill, and effect formatting for the object.

Has3DEffect true if a point has a three-dimensional appearance.

HasDataLabel true if the point has a data label.

Height returns the height, in points, of the object.

InvertIfNegative true if Microsoft Word inverts the pattern in the object when it corresponds to a negative number.

IsTotal true if the point represents a total.

Left returns a value that represents the distance, in points, from the left edge of the object to the left edge of the chart area.

MarkerBackgroundColor sets the marker background color as an RGB value or returns the corresponding color index value.

MarkerBackgroundColorIndex returns or sets the marker background color as an index into the current color palette, or as one of the following XlColorIndex constants: xlColorIndexAutomatic or xlColorIndexNone.

MarkerForegroundColor sets the marker foreground color as an RGB value or returns the corresponding color index value.

MarkerForegroundColorIndex returns or sets the marker foreground color as an index into the current color palette, or as one of the following XlColorIndex constants: xlColorIndexAutomatic or xlColorIndexNone.

MarkerSize returns or sets the data-marker size, in points.

MarkerStyle returns or sets the marker style for a point or series in a line chart, scatter chart, or radar chart.

Name returns the object name.

PictureType returns or sets a value that specifies how pictures are displayed on a column or bar picture chart.

PictureUnit2 returns or sets the unit for each picture on the chart if the PictureType property is set to xlStackScale (if not, this property is ignored).

SecondaryPlot true if the point is in the secondary section of either a pie-of-pie chart or a bar-of-pie chart.

Shadow returns or sets a value that indicates whether the object has a shadow.

Top returns a value that represents the distance, in points, from the top edge of the object to the top edge of the chart area.

Width returns the width, in points, of the object.

ChartFormat - Provides access to the OfficeArt formatting for chart elements.

DataLabel - Represents the data label on a chart point or trendline.