DK for Delphi | GisConfig.TGIS_Config | Classes | Constructors | Fields | Methods | Properties
Encapsulation of layer configuration file.
// Delphi type TGIS_Config = class( TGIS_ConfigAbstract ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_Config : public TGIS_ConfigAbstract { };
| Name | Visibility | Description | |
|---|---|---|---|
| FConfigFormat | protected | Actual config format. | |
| FConfigPath | protected | Path for config file. | |
| FMustSave | protected | True if config should be saved. | |
| FVersion | protected | Config version number. | |
| Name | Visibility | Description | |
|---|---|---|---|
| AbsolutePath | public | Computes absolute path for path relative to configuration file. | |
| AddSubLayer | public | Add sublayer to config file. | |
| BuildProject | public | Build project file based on current project and list of layers attached to the Viewer. | |
| ClearActiveSection | public | Delete elements related to the current section. | |
| ClearGroups | public | Delete group sections related to the selected group. | |
| ClearSave | public | Clear MustSave flag. | |
| ClearSections | public | Delete sections related to the selected layer. | |
| ClearSubSections | public | Delete subsections related to the selected layer. | |
| clearZones | protected | Clear zones list. | |
| GetStrings | public | Parse and fill list with values. | |
| Lock | public | Lock configuration file. | |
| Read3DLayerType | public | Read parameters given by _name. | |
| ReadAlignment | public | Read parameters given by _name. | |
| ReadBasement | public | Read parameters given by _name. | |
| ReadBitmap | public | Read parameters given by _name. | |
| ReadBoolean | public | Read parameters given by _name. | |
| ReadChart | public | Read parameters given by _name. | |
| ReadColor | public | Read parameters given by _name. | |
| ReadColorInterpolationMode | public | Read parameters given by _name. | |
| ReadColorRamp(String; TGIS_ColorMapArray) | public | Reads color ramp parameter given by _name. | |
| ReadColorRamp(String; TGIS_GradientMap) | public | Reads color ramp parameter given by _name. | |
| ReadCustomData | public | Read custom configuration parameters. | |
| readCustomParam | protected | Read custom configuration parameters. | |
| ReadDormant | public | Read parameters given by _name. | |
| ReadFloat | public | Read parameters given by _name. | |
| ReadFontStyle | public | Read parameters given by _name. | |
| ReadGround | public | Read parameters given by _name. | |
| ReadHierarchyGroups | public | Read hierarchy groups to config. | |
| ReadInteger | public | Read parameters given by _name. | |
| ReadInterpretation | public | Read parameters given by _name. | |
| ReadMarker | public | Read parameters given by _name. | |
| ReadNormalized | public | Read parameters given by _name. | |
| ReadOffsetPosition | public | Read parameters given by _name. | |
| readParam | protected | Read configuration parameter from list prepared by buildParamList. | |
| ReadPattern | public | Read parameters given by _name. | |
| ReadPen | public | Read parameters given by _name. | |
| ReadPosition | public | Read parameters given by _name. | |
| ReadSectionValues | public | Read section values into a list. | |
| ReadString | public | Read parameters given by _name. | |
| ReadSymbol | public | Read parameters given by _name. | |
| ReadZone(String; TGIS_PixelZoneListAbstract) | public | Read parameters given by zone _name. | |
| ReadZone(String; TGIS_StringList) | public | Read parameters given by zone _name. | |
| readZones(String; TGIS_PixelZoneListAbstract) | protected | Read zones to list. | |
| readZones(String; TGIS_StringList) | protected | Read zones to list. | |
| RelativePath | public | Computes path relative to configuration file. | |
| Reread | public | Reread configuration file. | |
| Save | public | Save backup copy of configuration file. | |
| SetGroup | public | Select layer on which the operation will be performed. | |
| SetGroupSection | public | Select the group section on which the operation will be performed. | |
| SetLayer | public | Select layer on which the operation will be performed. | |
| SetSection | public | Select the section on which the operation will be performed. | |
| SetStrings | public | Read and parse values from list. | |
| SetSubLayer | public | Select sublayer on which the operation will be performed. | |
| SetSubSection | public | Select the subsection on which the operation will be performed. | |
| Unlock | public | Unlock configuration file. | |
| Write3DLayerType | public | Write parameters given by _name. | |
| WriteAlignment | public | Write parameters given by _name. | |
| WriteBasement | public | Write parameters given by _name. | |
| WriteBitmap | public | Write parameters given by _name. | |
| WriteBoolean | public | Write parameters given by _name. | |
| WriteChart | public | Write parameters given by _name. | |
| WriteColor | public | Write parameters given by _name. | |
| WriteColorInterpolationMode | public | Write parameters given by _name. | |
| WriteColorRamp(String; TGIS_ColorMapArray; TGIS_ColorMapArray) | public | Writes color ramp parameter given by _name. | |
| WriteColorRamp(String; TGIS_GradientMap; TGIS_GradientMap) | public | Writes color ramp parameter given by _name. | |
| WriteCustomData | public | Write custom configuration parameters. | |
| writeCustomParam | protected | Write custom configuration parameters. | |
| WriteDormant | public | Write parameters given by _name. | |
| WriteFloat | public | Write parameters given by _name. | |
| WriteFontStyle | public | Write parameters given by _name. | |
| WriteGround | public | Write parameters given by _name. | |
| WriteHierarchyGroups | public | Write hierarchy groups to config. | |
| WriteInteger | public | Write parameters given by _name. | |
| WriteInterpretation | public | Write parameters given by _name. | |
| WriteMarker | public | Write parameters given by _name. | |
| WriteNormalized | public | Write parameters given by _name. | |
| WriteOffsetPosition | public | Write parameters given by _name. | |
| writeParam | protected | Write configuration parameter to the configuration file. | |
| WritePattern | public | Write parameters given by _name. | |
| WritePen | public | Write parameters given by _name. | |
| WritePosition | public | Write parameters given by _name. | |
| WriteString | public | Write parameters given by _name. | |
| WriteStyle | public | Write parameters given by _name. | |
| WriteSymbol | public | Write parameters given by _name. | |
| WriteZone(String; TGIS_PixelZoneListAbstract; TGIS_PixelZoneListAbstract) | public | Write parameters given by zone _name. | |
| WriteZone(String; TGIS_StringList; TGIS_StringList) | public | Write parameters given by zone _name. | |
| writeZones(String; TGIS_PixelZoneListAbstract; TGIS_PixelZoneListAbstract) | protected | Write zones from list. | |
| writeZones(String; TGIS_StringList; TGIS_StringList) | protected | Write zones from list. | |
| Name | Visibility | Description | |
|---|---|---|---|
| ConfigFormat | public | Internal format of config. | |
| FileName | public | Name of configuration file. | |
| IsProject | public | True if config file is a project. | |
| IsShapeStyle | public | True if config is for shape style embedding. | |
| MustSave | public | True if config file was changed. | |
| PrjLayerConfig | public | Config file name (without extension) at a given index in a project file. | |
| PrjLayerName | public | Name of layer at a given index in a project file. | |
| PrjLayerPath | public | Path of layer at a given index in a project file. | |
| PrjLayersCount | public | Returns the number of layers defined in project config file. | |
| Section | public | By assigning this value you are overriding default TGIS_Config behavior. | |
| UseRelativePath | public | If True (default) all paths will be save as relative to a config file localization. | |
| Version | public | Config version number | |
| WriteFull | public | If True (default) then all config keys will be saved, otherwise only changed. | |