User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layer.moveex_integer

Table of Contents

ITGIS_Layer.MoveEx method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Layer.MoveEx | Methods | Properties

Moves a layer up or down in the viewer zorder list (only visible layers). This procedure takes into account only visible layers; invisible layers (HideFromLegend=True) located after current layer will be moved together. If current layer is not visible, then the nearest visible (but previous on the Items list) layer will be used as an anchor.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void MoveEx(
  int _step
);
' VisualBasic
Public Sub MoveEx(
  ByVal _step As Integer
)
// Oxygene
public
  procedure MoveEx(
    _step : Integer
  );

Parameters

Name Type Description
_step int
Integer
how many steps and in which direction a layer must be moved; negative values mean movement to the front.

Remarks

To move layer regardless of visibility (any HideFromLegend value), use instead TGIS_Layer.Move instead.

2020/05/07 01:03