Customizing Global Configurations

You are allowed to customize the splash screen of the application program. Firstly, make sure that the ShowSplashScreen property is set to True. Otherwise, all other settings will be invalid.

There are two ways to configure the splash screen of SuperMap iDesktop:

  • Configure the splash screen, including the content that will be displayed and actions that will be processed while starting the program using the < splash enabled=“true”> tag in the SuperMap.Desktop.Startup.xml file. The file is located in the Installation Directory\SuperMap iDesktop\Configuration folder. About how to configure the splash screen using the SuperMap.Desktop.Startup.xml file, please refer to Configuring the Splash Screen.
  • Configure the splash screen through customizing the work environment. Select the SuperMap node int he structure area of the Customize window and change the properties on the right side of the window.

Below is the introduction to the items for splash screen settings.

Global Property Description
ShowSplashScreen Determines whether to show splash screen or not when the program is launched. Note: Only if ShowSplashScreen is set to True, this item is meaningful.
Icon Specifies the full path of the icon of the main program. Both an absolute path or a path relative to the executable program are acceptable.
Title Specifies the text for the program title. The default is SuperMap iDesktop.
Splash Code Property Description
Enable Sets whether to start the window with script.
DynamicCode The mode of the functional class bound to the control. Specifies the action that will be performed when the global control is clicked. You can achieve this in three ways: (1)Employ the CtrlAction mode to specify a class inheriting from the CtrlAction class or implementing the ICtrlAction interface; (2)Employ the CodeFile mode to designate a file containing the functional code; (3)Employ the ScriptCode mode to directly write code in the Script Compiler.
AssemblyName Specifies the assembly realizing the plugin functionality. An absolute path or a path relative to the executable program are both acceptable.
PluginInfo The name of the plugin that contains this control, that is, the name of the plugin configuration file containing the customization content of this control.
OnAction Specifies the class in the dll while DynamicCode is set to CtrlAction.
Splash Background Property Description
SplashBackgroundImage The background image for the splash screen. If not specified, the default image would be used. You can use the button to the right to specify the background image.
Splash Foreground Property Description
Image The foreground image for the splash screen. If not specified, the default image would be used. You can use the button to the right to specify the foreground image.
Position Specifies the position of the image relative to the splash screen. The property should be in the form “x,y”, with x and y representing the horizontal and vertical coordinates respectively.
Size Specifies the size of the image. The property should be in the form “x,y”, with x and y representing the width and height respectively.
TransparentColor Specifies the transparent foreground color.
Splash Text Property Description
SplashText Specifies the splash text.
Position Specifies the position of the text relative to the splash screen. The property should be in the form “x,y”, with x and y representing the horizontal and vertical coordinates respectively.
Font Specifies the font of the text.
ForeColor Specifies the color of the text.