DeletePen Method

Deletes a Pen from the Chart.

Syntax

object.DeletePen uiIndex

Properties

The DeletePen method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

uiIndex

Integer. Index of the pen to be deleted in the Pens collection.

 

Example

Applies To