User Tools

Site Tools


Table of Contents

ITGIS_LayerVector.ExportLayer method

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

Exports the layer.

Available also on: Delphi | .NET | Java | Python.


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


Name Type Description
_layer ITGIS_LayerVector layer to be exported to
_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 export will try to recognize shape on its own;
_scope WideString SQL query for which shape will be exported
_truncated WordBool if True, then all shapes will be truncated in _extent; if False, only the shape visible in _extent will be exported ;


Remember to assign 'path' property to the layer you want to export to, for proper export of the new layer to a file.
Use this method to export a layer. To do this, choose a layer to export to, and use ExportLayer method with proper params. See also the opposite method, ImportLayer.


Here is a simple procedure to export a layer.

2022/11/16 01:10

Page Tools