User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layervector.exportlayerex_tgis_layervector_tgis_extent_tgis_shapetype_string_tgis_shape_string_boolean

Table of Contents

TGIS_LayerVector.ExportLayerEx method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector.ExportLayerEx | Constructors | Fields | Methods | Properties | Events

Export layer.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public void ExportLayerEx(
  TGIS_LayerVector _layer,
  TGIS_Extent _extent,
  TGIS_ShapeType _type,
  string _scope,
  TGIS_Shape _shape,
  string _de9im,
  bool _truncated
);
' VisualBasic
Public Sub ExportLayerEx(
  ByVal _layer As TGIS_LayerVector,
  ByVal _extent As TGIS_Extent,
  ByVal _type As TGIS_ShapeType,
  ByVal _scope As String,
  ByVal _shape As TGIS_Shape,
  ByVal _de9im As String,
  ByVal _truncated As Boolean
)
// Oxygene
public
  procedure ExportLayerEx(
    _layer : TGIS_LayerVector;
    _extent : TGIS_Extent;
    _type : TGIS_ShapeType;
    _scope : String;
    _shape : TGIS_Shape;
    _de9im : String;
    _truncated : Boolean
  ); virtual;

Parameters

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 string
String
SQL query for which shape will be exported
_shape TGIS_Shape if not nil, then only shapes matched _de9im matrix with _shape will be found
_de9im string
String
DE-9IM matrix of comparison
_truncated bool
Boolean
if True, then all shapes will be truncated in _extent; if False, only the shape visible in _extent will be exported ;

Remarks

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

2019/02/08 01:32