User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_viewerwnd.setcsbywktfile_widestring

Table of Contents

ITGIS_ViewerWnd.SetCSByWKTFile method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWnd.SetCSByWKTFile | Methods | Properties

Setup Coordinate System to a coordinate system provided by file which contains WKT string (GEOGCS or PROJCS). If file does not exist or provided WKT string is empty then coordinate system will be turned off.

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

Syntax

// C#
public void SetCSByWKTFile(
  WideString _path
);
' VisualBasic
Public Sub SetCSByWKTFile(
  ByVal _path As WideString
)
// Oxygene
public
  procedure SetCSByWKTFile(
    _path : WideString
  );

Parameters

Name Type Description
_path WideString path with WKT string (for example shapefile .PRJ)

Remarks

All layers must have proper coordinate system. Otherwise coordinate system will be turned-off.

2022/11/16 01:12

Page Tools