User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layervector.mergelayer_itgis_layervector_itgis_extent_tgis_shapetype_widestring_wordbool_wordbool

Table of Contents

ITGIS_LayerVector.MergeLayer method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerVector.MergeLayer | Methods | Properties

Merge layer from an existing layer.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void MergeLayer(
  ITGIS_LayerVector _layer,
  ITGIS_Extent _extent,
  TGIS_ShapeType _type,
  WideString _scope,
  WordBool _truncated,
  WordBool _restrict
);
' VisualBasic
Public Sub MergeLayer(
  ByVal _layer As ITGIS_LayerVector,
  ByVal _extent As ITGIS_Extent,
  ByVal _type As TGIS_ShapeType,
  ByVal _scope As WideString,
  ByVal _truncated As WordBool,
  ByVal _restrict As WordBool
)
// Oxygene
public
  procedure MergeLayer(
    _layer : ITGIS_LayerVector;
    _extent : ITGIS_Extent;
    _type : TGIS_ShapeType;
    _scope : WideString;
    _truncated : WordBool;
    _restrict : WordBool
  );

Parameters

Name Type Description
_layer ITGIS_LayerVector layer to be imported
_extent ITGIS_Extent starting extent of layer - can't be zero sized
_type TGIS_ShapeType shape type supported by a layer; if gistypeUnknown is used then import will try to recognize shape on its own;
_scope WideString SQL query for which shape will be imported
_truncated WordBool if True, then all shapes will be truncated in _extent; if False, only the shape visible in _extent will be imported ;
_restrict WordBool if True, any field structure modification will raise error, otherwise allow to resize fields

Remarks

Remember to assign 'path' property to layer you want to import from for proper import a new layer to file.
Use this method to merge layers. Before the merge SaveData will be fired.

2019/02/08 01:07