User Tools

Site Tools


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 | Python.


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


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


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

2022/11/16 01:09

Page Tools