This document is archived and information here might be outdated.  Recommended version.


ITimeDuration.Scale Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITimeDuration Interface > ITimeDuration.Scale Method
ArcGIS Developer Help

ITimeDuration.Scale Method

Scales the time duration by a scale factor.

[Visual Basic .NET]
Public Sub Scale ( _
    ByVal scaleFactor As Double _
)
[C#]
public void Scale (
    double scaleFactor
);
[C++]
HRESULT Scale(
  double scaleFactor
);
[C++]
Parameters
scaleFactor [in]

scaleFactor is a parameter of type double

Product Availability

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

Description

The scale function can be used to increase or decrease the given duration.  For example, if you want to divide a time extent into 5 equal segments, you can get the TimeDuration from the TimeExent, then scale the TimeDuration by 1/5 and add the resulting TimeDuration to the TimeExtent's Start Time.

See Also

ITimeDuration Interface