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

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 | .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 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 01:36

Page Tools