SetMode

This method sets the time and date slider mode.

 

JavaScript

 

SetMode(Mode)

 

C#

 

void SetMode(SliderDisplayMode Mode)

 

C++

 

HRESULT SetMode(SliderDisplayMode Mode)

 

Parameters

Mode

An enum that determines the date and time slider mode. The following are possible values:

·          MODE_TIME_NONE = 0
Reserved.

·          MODE_FIXED_TIME = 1
Always use a fixed time at the viewer position that can be set using the FixedLocalTime property.

·          MODE_TIME = 2
Always use a fixed time that can be set using the IProject80.Settings.property.

·          MODE_RANGE_PROJECT = 4
Use range according to project.

·          MODE_RANGE_CUSTOM = 8
Discontinued. Do not use.

·          Use a custom range that can be set using the TimeRangeStart and TimeRangeEnd properties.

·          MODE_ADJUST_FOR_GROUP = 16
Automatically adjust range to selected group. You can use this flag in combination with the MODE_FIXED_TIME or MODE_TIME values.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.