Beispiel #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);
        }
Beispiel #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;
 }