User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layerpixel.generateramp_itgis_color_itgis_color_itgis_color_double_double_b6e80ca43955578f0efb3cbdd5ad7f42

Table of Contents

ITGIS_LayerPixel.GenerateRamp method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerPixel.GenerateRamp | Methods | Properties

Generates a grid ramp.

Available also on: Delphi | .NET | Java.

Syntax

// 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
  );

Parameters

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

References

2020/05/28 09:04

Page Tools