/// <summary>
        /// 生成干扰图像
        /// </summary>
        /// <param name="name"></param>
        /// <param name="size"></param>
        /// <param name="textProvider"></param>
        /// <param name="characterSet"></param>
        /// <param name="maximumCharacters"></param>
        /// <param name="minimumCharacters"></param>
        /// <returns></returns>
        public override VerificationCodeImage GenerateAutoInputProtectionImage(string name, Size size, VerificationCodeTextProvider textProvider, CaptchaCharacterSet characterSet, int? maximumCharacters, int? minimumCharacters)
        {
            LineNoiseVerificationCodeImage image = new LineNoiseVerificationCodeImage(size, textProvider, colors, characterSet, maximumCharacters, minimumCharacters);

            // code added after 1.0.0 RTW:
            if (Margin != -1)
                image.Margin = Margin;

            if (MinimumCharacterRotation != -1)
                image.MinimumCharacterRotation = MinimumCharacterRotation;

            if (MaximumCharacterRotation != -1)
                image.MaximumCharacterRotation = MaximumCharacterRotation;

            return image;
        }
        /// <summary>
        /// 生成干扰图像
        /// </summary>
        /// <param name="name"></param>
        /// <param name="size"></param>
        /// <param name="textProvider"></param>
        /// <param name="characterSet"></param>
        /// <param name="maximumCharacters"></param>
        /// <param name="minimumCharacters"></param>
        /// <returns></returns>
        public override VerificationCodeImage GenerateAutoInputProtectionImage(string name, Size size, VerificationCodeTextProvider textProvider, CaptchaCharacterSet characterSet, int?maximumCharacters, int?minimumCharacters)
        {
            LineNoiseVerificationCodeImage image = new LineNoiseVerificationCodeImage(size, textProvider, colors, characterSet, maximumCharacters, minimumCharacters);

            // code added after 1.0.0 RTW:
            if (Margin != -1)
            {
                image.Margin = Margin;
            }

            if (MinimumCharacterRotation != -1)
            {
                image.MinimumCharacterRotation = MinimumCharacterRotation;
            }

            if (MaximumCharacterRotation != -1)
            {
                image.MaximumCharacterRotation = MaximumCharacterRotation;
            }

            return(image);
        }