Knowledge Base

KB10626 - Add or retreive custom information to a *.ttkgp project file.

Simply use:

  • Layer.ConfigFile.WriteString( 'MyCustomProperty', 'some_value');

To add a whole new section to the project file, use:

  • GIS.ProjectFile.Section := 'MyPrivateSection' ;
  • GIS.ProjectFile.WriteString( 'MyCustomProperty', 'some_value');  
Created: April 18, 2005, Modified: September 10, 2015
follow us on Facebook  follow us on Twitter  follow us on Google +  follow us on LinkedIn  Embarcadero