DK for Delphi | GisViewer.TGIS_Viewer.Open | Overloads | Constructors | Fields | Methods | Properties | Events
Open project.
Implements IGIS_Viewer.Open.
// Delphi public procedure Open( const _path : String ); overload;
// C++ Builder public: void Open( const UnicodeString _path ) /* overload */;
Name | Type | Description |
---|---|---|
_path | String | project path (or layer) |
If any project exists, then it will be closed and any stored passwords will be cleared. If _path content is a path to any registered layer type, then layer will be opened.
procedure MyClass.FormCreate(); begin // let's open a project GIS.Open( GisSamplesDataDir + 'states2.shp' ) ; GIS.FullExtent ; dosomething(); // and after some steps let's close it GIS.Close; end ;