ArcObjects Library Reference (System)  

ITimeExtent.SetExtent Method

Writes start and end time, with copies of the input time values.

[Visual Basic .NET]
Public Sub SetExtent ( _
    ByVal StartTime As ITime, _
    ByVal EndTime As ITime _
)
[C#]
public void SetExtent (
    ITime StartTime,
    ITime EndTime
);
[C++]
HRESULT SetExtent(
  ITime* StartTime,
  ITime* EndTime
);
[C++]

Parameters

StartTime [in]

  StartTime is a parameter of type ITime

EndTime [in]

  EndTime is a parameter of type ITime

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This function sets both the Start Time and End Time as one atomic action.

See Also

ITimeExtent Interface

.NET Samples

Make a custom time slider (Code Files: CustomTimeSliderButton) |