User Tools

Site Tools


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.


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


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


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

2022/11/16 01:12

Page Tools