User Tools

Site Tools


Table of Contents

TGIS_LayerVector.ExportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, java.lang.String, bool) method

DK11 for Java | tatukgis.jdk.TGIS_LayerVector.ExportLayer | Overloads | Constructors | Fields | Methods | Properties | Events

Exports the layer.

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


// Java
public void ExportLayer(
  TGIS_LayerVector _layer,
  TGIS_Extent _extent,
  TGIS_ShapeType _type,
  java.lang.String _scope,
  bool _truncated
// Oxygene
  procedure ExportLayer(
    _layer : TGIS_LayerVector;
    _extent : TGIS_Extent;
    _type : TGIS_ShapeType;
    _scope : String;
    _truncated : Boolean


Name Type Description
_layer TGIS_LayerVector layer to be exported to
_extent TGIS_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 java.lang.String
SQL query for which shape will be exported
_truncated bool
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:49

Page Tools