DisplayStyle

Gets and sets an enum that determines how the slope map is displayed. The following are the possible values:

§   CDS_SLOPE_STYLE_DEFAULT = -1
Default

§   CDS_SLOPE_STYLE_DIRECTION = 0
Display arrows on the terrain indicating the direction of the slope.

§   CDS_SLOPE_STYLE_COLORS = 1
Displays palette colors on the terrain according to degree of slope.

§   CDS_SLOPE_STYLE_DIRECTION_AND_COLORS = 2
Display both slope colors and arrows indicating slope direction.

 

JavaScript

 

 

 

DisplayStyle

 

C#

 

 

 

ContourDisplayStyle DisplayStyle { get; set; }

 

C++

 

 

 

HRESULT DisplayStyle([out, retval] SlopeDisplayStyle* pVal);

HRESULT DisplayStyle([in] SlopeDisplayStyle pVal);