User Tools

Site Tools


api:dk11:delphi:gisconfig.tgis_config.create_tobject_string

Table of Contents



TGIS_Config.Create constructor

DK for Delphi | GisConfig.TGIS_Config.Create | Constructors | Fields | Methods | Properties

Creates a configuration wrapper for a layer or project file.

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

Syntax

// Delphi
public
  constructor Create(
    const _layer : TObject;
    const _path : String
  ); virtual;
// C++ Builder
Create (
  TObject* const _layer,
  const UnicodeString _path
);

Parameters

Name Type Description
_layer TObject Layer object associated with the configuration.
_path String Full path to the configuration file. It can be empty, in which case only layer-dependent files are used.

Remarks

PURPOSE: Initializes configuration state for subsequent section selection, typed parameter access, and project or layer serialization.

BEHAVIOR: Stores the associated layer context and config path, and prepares the instance for descendant-specific loading and saving behavior.

CONSTRAINTS: This constructor belongs to an abstract base class and is used through descendant classes created for a concrete config format.

2026/07/11 00:20

Page Tools