示例#1
0
		/// <summary>
		/// Send's output to the StandartPrinter
		/// </summary>
		/// <param name="pages"></param>
		/// <returns>PrintRenderer</returns>
		public static PrintRenderer CreateInstance(PagesCollection pages)
		{
			if (pages == null) {
				throw new ArgumentNullException("pages");
			}
			PrintRenderer instance = new PrintRenderer(pages);
			return instance;
		}
示例#2
0
        /// <summary>
        /// Send's output to the StandartPrinter
        /// </summary>
        /// <param name="pages"></param>
        /// <returns>PrintRenderer</returns>
        public static PrintRenderer CreateInstance(PagesCollection pages)
        {
            if (pages == null)
            {
                throw new ArgumentNullException("pages");
            }
            PrintRenderer instance = new PrintRenderer(pages);

            return(instance);
        }