User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_viewer.setcsbywktfile_widestring

Table of Contents

IGIS_Viewer.SetCSByWKTFile method

DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer.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 | .NET | 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.

2025/01/31 01:03

Page Tools