SetTimeCursorTime Method

Sets the time for the Time Cursor position. The time of the Time Cursor is specified relative to a Pen, since pens can have different times on the same Chart.

Syntax

object.SetTimeCursorTime dt, lPenNum

Properties

The SetTimeCursorTime method syntax has these parts:

Part

Description

object

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

dt

Date. The time at which to set the Time Cursor.

lPenNum

Long. The index of the pen in the pen array for which you want to set the Time Cursor.

Remarks

The time of the Time Cursor is specified relative to a Pen, since pens can have different times on the same Chart.

 

Example

Applies To