DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer.Open | Methods | Properties
Open a project or layer.
// C# public void Open( WideString _path );
' VisualBasic Public Sub Open( ByVal _path As WideString )
// Oxygene public procedure Open( _path : WideString );
| Name | Type | Description |
|---|---|---|
| _path | WideString | Project path or layer path. |
PURPOSE: Load a viewer project or a single layer from a path.
BEHAVIOR: 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 a project file or a single layer into the viewer.
path = TGIS_Utils.GisSamplesDataDirDownload('AI.1') + 'Samples\AI\Images\marina.tiff' GIS.Open(path)