DK for .NET | TatukGIS.NDK.IGIS_Viewer.Open | Overloads | Methods | Properties
Open a project.
// C# public void Open( string _path );
' VisualBasic Public Sub Open( ByVal _path As String )
// Oxygene public procedure Open( _path : String );
| Name | Type | Description |
|---|---|---|
| _path | string String | project path or layer path |
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