User Tools

Site Tools


api:dk11:net:tatukgis.ndk.igis_viewer.setcsbywktfile_string

Table of Contents

IGIS_Viewer.SetCSByWKTFile method

DK for .NET | TatukGIS.NDK.IGIS_Viewer.SetCSByWKTFile | Methods | Properties

Sets the coordinate system from a file containing a WKT (Well-Known Text) string with a GEOGCS or PROJCS definition. If the file does not exist or the WKT string is empty, the coordinate system is turned off.

Available also on: Delphi | Java | ActiveX | Python.

Syntax

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

Parameters

Name Type Description
_path string
String
Path to the file with the WKT (Well-Known Text) string, for example a Shapefile .PRJ file.

Remarks

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

2026/08/30 02:36

Page Tools