User Tools

Site Tools


api:dk11:delphi:gisconfig.tgis_config.readcolor_string_tgis_color

Table of Contents



TGIS_Config.ReadColor method

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

Reads a color value from the active section.

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

Syntax

// Delphi
public
  function ReadColor(
    const _name : String;
    const _default : TGIS_Color
  ) : TGIS_Color;
// C++ Builder
public:
  TGIS_Color* ReadColor(
    const UnicodeString _name,
    TGIS_Color* const _default
  );

Parameters

Name Type Description
_name String Parameter name.
_default TGIS_Color Default value returned when the parameter is missing or invalid.

Result

Type Description
TGIS_Color Stored color value or_default.
2026/07/11 00:20

Page Tools