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="" />
		<add key="GraphicsMillEnableTelemetry" value="true" />
	</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
GraphicsMillEnableTelemetry Enables or disables telemetry data collection. Telemetry includes runtime counters of feature usage (e.g., how many times you use specific functions). This setting applies only to developer and floating license keys. Other key types do not send any data. The default value is "true". This can also be set in code using Aurigma.GraphicsMill.Configuration.IsTelemetryEnabled. "true" (enabled) / "false" (disabled)

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";
  • IsTelemetryEnabled: Enable or disable telemetry by assigning a boolean value to Aurigma.GraphicsMill.Configuration.IsTelemetryEnabled.
    C#
    Aurigma.GraphicsMill.Configuration.IsTelemetryEnabled = false;