The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



RenameMapImg


Unit:SDL_geomap
Class: TGeoMap
Declaration: function RenameMapImg (Name: string): boolean;

The method RenameMapImg allows to rename the currently loaded map image to the new name represented by Name. Both the internal representation and the local map image on the harddisk will be renamed. The name is reduced to comply with Windows filenames using the Routine ReduceStringToFN83CompliantChars.

Hint: Please note that a direct assignment of the property MapImgFile would trigger the loading of a different map image (if available) or would create an exception (if the image is not available). In any case it would not result in a renaming of the current map image.



Last Update: 2012-Oct-20