User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.prepareexportshape_tgis_cscoordinatesystem_tgis_extent_boolean_boolean

Table of Contents

TGIS_Shape.PrepareExportShape method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.PrepareExportShape | Constructors | Fields | Methods | Properties

Prepare reprojected shape, truncated by extent and copy fields to the result.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public TGIS_Shape PrepareExportShape(
  TGIS_CSCoordinateSystem _cs,
  TGIS_Extent _extent,
  bool _truncate,
  bool _copyfield
);
' VisualBasic
Public Function PrepareExportShape(
  ByVal _cs As TGIS_CSCoordinateSystem,
  ByVal _extent As TGIS_Extent,
  ByVal _truncate As Boolean,
  ByVal _copyfield As Boolean
) As TGIS_Shape
// Oxygene
public
  function PrepareExportShape(
    _cs : TGIS_CSCoordinateSystem;
    _extent : TGIS_Extent;
    _truncate : Boolean;
    _copyfield : Boolean
  ) : TGIS_Shape;

Parameters

Name Type Description
_cs TGIS_CSCoordinateSystem coordinate system
_extent TGIS_Extent extent used to truncate shape (in a same space as _cs)
_truncate bool
Boolean
If True, the result shape will be truncated
_copyfield bool
Boolean
If True, the result shape will copy the source fields

Result

Type Description
TGIS_Shape Shape prepared for export. If shape as not truncated not reprojected then is same as shape itself; otherwise a new object is created.
2020/05/07 01:18

Page Tools