Class Floor (PowerPoint VBA)

The class Floor represents the floor of a 3D chart.

Set

To use a Floor class variable it first needs to be instantiated, for example

Dim flr as Floor
Set flr = ActiveWindow.RangeFromPoint.Chart.Floor

Floor class variables can be set using the Chart.Floor procedure.

ClearFormats

Clears the formatting of the object.

ActiveWindow.RangeFromPoint.Chart.Floor.ClearFormats

Format

Returns the line, fill, and effect formatting for the object.

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveWindow.RangeFromPoint.Chart.Floor.Format

Name

Returns the name of the object.

Dim strName As String
strName = ActiveWindow.RangeFromPoint.Chart.Floor.Name

Parent

Returns the parent for the specified object. Read-only object.

Paste

Pastes a picture from the Clipboard on the floor of the specified chart.

You can use this method on column, bar, line, or radar charts.

ActiveWindow.RangeFromPoint.Chart.Floor.Paste

PictureType

Returns or sets a value that specifies how pictures are displayed on the walls and faces of a 3D chart.

Possible Values are xlStack - The picture is sized to repeat a maximum of 15 times in the longest stacked bar, xlStackScale - The picture is sized to a specified number of units and repeated the length of the bar, xlStretch - The picture is stretched the full length of the stacked bar.

You can set this property to one of the following XlChartPictureType constants: xlStack or xlStretch.

ActiveWindow.RangeFromPoint.Chart.Floor.PictureType = xlStack

Select

Selects the object.

ActiveWindow.RangeFromPoint.Chart.Floor.Select

Thickness

Returns or sets the thickness of the floor.

Use this property to set the thickness of the floor. The default thickness is zero (0).

ActiveWindow.RangeFromPoint.Chart.Floor.Thickness =