User Tools

Site Tools


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

Table of Contents

IGIS_Viewer.Open(string) method

DK for .NET | TatukGIS.NDK.IGIS_Viewer.Open | Overloads | Methods | Properties

Open a project.

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

Syntax

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

Parameters

Name Type Description
_path string
String
project path or layer path

Remarks

If a project is already open, it is closed and any stored passwords are cleared. If _path points to a registered layer type, that layer is opened instead of a project.

USAGE: Load data or project file into viewer. Foundational operation - all GIS workflows start with loading data. Must call Open before any spatial analysis, rendering, or editing.

data_dir = TGIS_Utils.GisSamplesDataDirDownload()
viewer.Open(data_dir + '\World\VisibleEarth\world_8km.jpg')
# Viewer now displays the loaded data

2026/09/20 23:54

Page Tools