ImageMagick.Environment.SetEnv C# (CSharp) Method

SetEnv() public static method

public static SetEnv ( string name, string value ) : void
name string
value string
return void
    public static void SetEnv(string name, string value)
    {
      NativeEnvironment.SetEnv(name, value);
    }
  }

Usage Example

Example #1
0
        /// <summary>
        /// Initializes ImageMagick with the xml files that are located in the specified path.
        /// </summary>
        /// <param name="path">The path that contains the ImageMagick xml files.</param>
        public static void Initialize(string path)
        {
            string newPath = FileHelper.GetFullPath(path);

            CheckImageMagickFiles(newPath);

            Environment.SetEnv("MAGICK_CONFIGURE_PATH", path);
        }
All Usage Examples Of ImageMagick.Environment::SetEnv
Environment