示例#1
0
        /// <summary>
        /// Watermarks the specified caption.
        /// </summary>
        /// <param name="caption">The caption.</param>
        /// <returns></returns>
        public Pipeline Watermark(string caption)
        {
            TextWatermarkFilter filter = new TextWatermarkFilter();

            filter.Caption           = caption;
            filter.AutomaticTextSize = true;
            _image = filter.ExecuteFilter(_image);
            return(this);
        }
示例#2
0
 /// <summary>
 /// Watermarks the specified caption.
 /// </summary>
 /// <param name="caption">The caption.</param>
 /// <returns></returns>
 public Pipeline Watermark(string caption)
 {
     TextWatermarkFilter filter = new TextWatermarkFilter();
     filter.Caption = caption;
     filter.AutomaticTextSize = true;
     _image = filter.ExecuteFilter(_image);
     return this;
 }