Beispiel #1
0
        /// <summary>
        /// Creator, set format handler
        /// </summary>
        /// <param name="formatHandler">The format handler instance</param>
        public ScreenCapture(ImageFormatHandler formatHandler)
        {
            doc.PrintPage += printPage;

            this.formatHandler = formatHandler;
        }
Beispiel #2
0
        /// <summary>
        /// Creator, set format handler
        /// </summary>
        /// <param name="formatHandler">The format handler instance</param>
        public ScreenCapture(ImageFormatHandler formatHandler)
        {
            doc.PrintPage += new PrintPageEventHandler(printPage);

            this.formatHandler = formatHandler;
        }
Beispiel #3
0
 /// <summary>
 /// Creator
 /// </summary>
 public ScreenCapture()
 {
     doc.PrintPage += printPage;
     formatHandler  = new ImageFormatHandler();
 }
Beispiel #4
0
 /// <summary>
 /// Creator
 /// </summary>
 public ScreenCapture()
 {
     doc.PrintPage += new PrintPageEventHandler(printPage);
     formatHandler  = new ImageFormatHandler();
 }