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

ITerrainEdit.ChangeMaxScale Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainEdit Interface > ITerrainEdit.ChangeMaxScale Method
ArcGIS Developer Help

ITerrainEdit.ChangeMaxScale Method

Modifies the largest display scale used for a particular level of a terrain pyramid.

[Visual Basic .NET]
Public Sub ChangeMaxScale ( _
    ByVal index As Integer, _
    ByVal newScale As Integer _
public void ChangeMaxScale (
    int index,
    int newScale
HRESULT ChangeMaxScale(
  long index,
  long newScale
index [in]

index is a parameter of type long newScale [in]
newScale is a parameter of type long

Product Availability

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


A reference scale is associated with each terrain pyramid level. This is the maximum display scale at which a pyramid level is used when displaying a terrain in a map. At a larger display scale (i.e. more zoomed in) a more accurate pyramid is used.

The input index represents the pyramid level desired, from finer to coarser resolution, excluding the full resolution level. So, index 0 refers to the pyramid level with the smallest ZTolerance that is greater than 0.0. The valid index range is 0 to ITerrain.ZToleranceCount-1.

The value passed for newScale is the denominator of the scale. For example, to define a pyramid used for displays at scales up to 1:24000 pass a value of 24000.

Modifying the maximum scale for a pyramid does not necessitate a rebuild of the terrain.

See Also

ITerrainEdit Interface