Ejemplo n.º 1
0
 public PrintTextForm(string text, PrintSettings settings)
 {
     InitializeComponent();
     printHelper = new PrintHelper(text);
     printHelper.Settings = printSettings = settings;
     LoadSettings();
 }
Ejemplo n.º 2
0
 public PrintTextForm(string text, PrintSettings settings)
 {
     InitializeComponent();
     printHelper          = new PrintHelper(text);
     printHelper.Settings = printSettings = settings;
     LoadSettings();
 }
Ejemplo n.º 3
0
 public PrintForm(Image img, PrintSettings settings, bool previewOnly = false)
 {
     InitializeComponent();
     printHelper          = new PrintHelper(img);
     printHelper.Settings = printSettings = settings;
     btnPrint.Enabled     = !previewOnly;
     LoadSettings();
 }
Ejemplo 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();
 }