User Tools

Site Tools


api:dk11:delphi:gisconfig.tgis_configfactory.createconfig_tobject_string

Table of Contents



TGIS_ConfigFactory.CreateConfig method

DK for Delphi | GisConfig.TGIS_ConfigFactory.CreateConfig | Methods

Creates a config instance based on the path extension.

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

Syntax

// Delphi
public
  class function CreateConfig(
    const _layer : TObject;
    const _path : String
  ) : TGIS_Config; static;
// C++ Builder
public:
  static TGIS_Config* CreateConfig(
    TObject* const _layer,
    const UnicodeString _path
  );

Parameters

Name Type Description
_layer TObject Layer object associated with the config.
_path String Full path to the configuration file; can be empty; if so, a default INI-based configuration instance is created.

Result

Type Description
TGIS_Config New configuration instance selected for the path extension.

References

2026/09/20 23:47

Page Tools