SetPenDataArray Method

Creates a static Pen in a Chart with the specified data. Used to add pens from other data sources.

Syntax

object.SetPenDataArray lNumPoints, pValue, pTime, pQuality

Properties

The SetPenDataArray method syntax has these parts:

Part

Description

object

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

lNumPoints

Long. Number of points in the Pen.

pValue

Double array. An array of values for the points in the Pen.

pTime

Date array. An array of times for the points in the Pen.

pQuality

Long array. An array of qualities for the points in the Pen. Use OPC quality values.

 

Example

Applies To