DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerPixel.GenerateRamp | Methods | Properties
Generates a grid ramp.
// C# public void GenerateRamp( ITGIS_Color _startColor, ITGIS_Color _middleColor, ITGIS_Color _endColor, double _minValue, double _midValue, double _maxValue, WordBool _useMiddle, double _rampInterval, double _legendInterval, ITGIS_ParamsSectionPixel _params, WordBool _clearMapZones );
' VisualBasic Public Sub GenerateRamp( ByVal _startColor As ITGIS_Color, ByVal _middleColor As ITGIS_Color, ByVal _endColor As ITGIS_Color, ByVal _minValue As Double, ByVal _midValue As Double, ByVal _maxValue As Double, ByVal _useMiddle As WordBool, ByVal _rampInterval As Double, ByVal _legendInterval As Double, ByVal _params As ITGIS_ParamsSectionPixel, ByVal _clearMapZones As WordBool )
// Oxygene public procedure GenerateRamp( _startColor : ITGIS_Color; _middleColor : ITGIS_Color; _endColor : ITGIS_Color; _minValue : Double; _midValue : Double; _maxValue : Double; _useMiddle : WordBool; _rampInterval : Double; _legendInterval : Double; _params : ITGIS_ParamsSectionPixel; _clearMapZones : WordBool );
Name | Type | Description |
---|---|---|
_startColor | ITGIS_Color | start color |
_middleColor | ITGIS_Color | middle color |
_endColor | ITGIS_Color | end color |
_minValue | double Double | minimum value |
_midValue | double Double | middle value |
_maxValue | double Double | maximum value |
_useMiddle | WordBool | If True, a middle value will be used |
_rampInterval | double Double | ramp interval |
_legendInterval | double Double | legend interval |
_params | ITGIS_ParamsSectionPixel | parameters to be altered, if nil then a layer parameters will be altered |
_clearMapZones | WordBool | if True, zones list will be cleared before adding a ramp |