User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_config

TGIS_Config class

DK11 for .NET | TatukGIS.NDK.TGIS_Config | Classes | Constructors | Fields | Methods | Properties

Encapsulation of layer configuration file.

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

Syntax

// C#
public class TGIS_Config : TGIS_ConfigAbstract
{
}
' VisualBasic
Public Class TGIS_Config
  Inherits TGIS_ConfigAbstract
End Class
// Oxygene
type
  TGIS_Config = public class( TGIS_ConfigAbstract )
  end;

Inheritance

→ TGIS_BaseObjectDisposable → TGIS_ConfigAbstract

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_Config() public Create instance.

Fields

Inherited Protected
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.

Methods

Inherited Overrides Protected
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 public Read 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 public Read parameters given by zone _name.
readZones 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 public Write 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 public Write parameters given by zone _name.
writeZones protected Write zones from list.

Properties

Inherited Protected
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.

References

2022/11/16 01:27

Page Tools