Graphics Mill Configuration

You can configure the settings of the application in the App.config file. This file is in the root folder of the application.

Application Settings

The following snippet shows available parameters of the Graphics Mill application, which you can set up in App.config with their default values.

XML
<configuration>
	<appSettings>
		<add key="GraphicsMillTempPath" value="C:\gm_temp" />
		<add key="GraphicsMillLicense" value="" />
	</appSettings>
</configuration>

Let's look at these parameters in more detail.

Name Description Possible values
GraphicsMillTempPath The path to the temporary folder used by Graphics Mill. The default value is "C:\gm_temp". This can also be set in code using Aurigma.GraphicsMill.Configuration.TempPath. folder path
GraphicsMillLicense The license key for Graphics Mill. For example, "80FF0-112E8-123B6-81238-94D4C-FE0123". This can also be set in code using Aurigma.GraphicsMill.Configuration.License. string

Code Configuration

In addition to configuring settings in the App.config file, you can also set these parameters directly in your code using the Aurigma.GraphicsMill.Configuration namespace.

  • TempPath: Set the temporary path by assigning a value to Aurigma.GraphicsMill.Configuration.TempPath.
    C#
    Aurigma.GraphicsMill.Configuration.TempPath = @"C:\custom_temp";
  • License: Set the license key by assigning a value to Aurigma.GraphicsMill.Configuration.License.
    C#
    Aurigma.GraphicsMill.Configuration.License = "your-license-key-here";