User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.prepareexportshape_itgis_cscoordinatesystem_itgis_extent_wordbool_wordbool

Table of Contents

ITGIS_Shape.PrepareExportShape method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.PrepareExportShape | Methods | Properties

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

Available also on: Delphi | .NET | Java.

Syntax

// C#
public ITGIS_Shape PrepareExportShape(
  ITGIS_CSCoordinateSystem _cs,
  ITGIS_Extent _extent,
  WordBool _truncate,
  WordBool _copyfield
);
' VisualBasic
Public Function PrepareExportShape(
  ByVal _cs As ITGIS_CSCoordinateSystem,
  ByVal _extent As ITGIS_Extent,
  ByVal _truncate As WordBool,
  ByVal _copyfield As WordBool
) As ITGIS_Shape
// Oxygene
public
  function PrepareExportShape(
    _cs : ITGIS_CSCoordinateSystem;
    _extent : ITGIS_Extent;
    _truncate : WordBool;
    _copyfield : WordBool
  ) : ITGIS_Shape;

Parameters

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

Result

Type Description
ITGIS_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:04

Page Tools