User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.saveprojectasex_tgis_configabstract_string_boolean

Table of Contents

TGIS_Viewer.SaveProjectAsEx(TGIS_ConfigAbstract; String; Boolean) method

DK11 for Delphi | GisViewer.TGIS_Viewer.SaveProjectAsEx | Overloads | Constructors | Fields | Methods | Properties | Events

Save current project under new name.

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

Syntax

Implements IGIS_Viewer.SaveProjectAsEx.

// Delphi
public
  procedure SaveProjectAsEx(
    const _configFile : TGIS_ConfigAbstract;
    const _path : String;
    const _relativepath : Boolean
  ); overload;
// C++ Builder
public:
  void SaveProjectAsEx(
    TGIS_ConfigAbstract* const _configFile,
    const UnicodeString _path,
    const bool _relativepath
  ) /* overload */;

Parameters

Name Type Description
_configFile TGIS_ConfigAbstract existing project file
_path String path to the new project file; should have '.ttkproject' (or obsolete '.ttkgp') extension
_relativepath Boolean if True (default) then project will be saved using paths relative to project file location

Remarks

Layer configuration will be saved to project or configuration files if such configuration file exits.
Save only project file. Data will not be saved.

References

2022/11/30 19:19

Page Tools