Exemplo n.º 1
0
 public PrintForm(Image img, PrintSettings settings)
 {
     InitializeComponent();
     printHelper = new PrintHelper(img);
     printHelper.Settings = printSettings = settings;
     LoadSettings();
 }
 public PrintTextForm(string text, PrintSettings settings)
 {
     InitializeComponent();
     printHelper = new PrintHelper(text);
     printHelper.Settings = printSettings = settings;
     LoadSettings();
 }
Exemplo n.º 3
0
 public PrintTextForm(string text, PrintSettings settings)
 {
     InitializeComponent();
     printHelper          = new PrintHelper(text);
     printHelper.Settings = printSettings = settings;
     LoadSettings();
 }
Exemplo n.º 4
0
 public PrintForm(Image img, PrintSettings settings, bool previewOnly = false)
 {
     InitializeComponent();
     printHelper = new PrintHelper(img);
     printHelper.Settings = printSettings = settings;
     btnPrint.Enabled = !previewOnly;
     LoadSettings();
 }
Exemplo n.º 5
0
 public PrintForm(Image img, PrintSettings settings, bool previewOnly = false)
 {
     InitializeComponent();
     printHelper          = new PrintHelper(img);
     printHelper.Settings = printSettings = settings;
     btnPrint.Enabled     = !previewOnly;
     LoadSettings();
 }