Beispiel #1
0
 public void IsDirectPrintingSupported_ImageNotSupported_ReturnsExpected()
 {
     using (var bitmap = new Bitmap(10, 10))
     {
         var printerSettings = new PrinterSettings();
         Assert.Equal(false, printerSettings.IsDirectPrintingSupported(bitmap));
     }
 }
Beispiel #2
0
        public void IsDirectPrintingSupported_ImageFormatNotSupported_ReturnsExpected(ImageFormat imageFormat)
        {
            var printerSettings = new PrinterSettings();

            Assert.Equal(false, printerSettings.IsDirectPrintingSupported(imageFormat));
        }
Beispiel #3
0
 public void IsDirectPrintingSupported_ImageFormatSupported_ReturnsExpected(ImageFormat imageFormat)
 {
     var  printerSettings = new PrinterSettings();
     bool supported       = printerSettings.IsDirectPrintingSupported(imageFormat);
 }