-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrinterSetup.cs
67 lines (58 loc) · 1.62 KB
/
PrinterSetup.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
namespace CyberedgeImageProcess2024
{
public partial class PrinterSetup : Form
{
public PrinterSetup()
{
InitializeComponent();
}
public PrinterSetup(EdgeImagePlus imp) : this()
{
if (imp != null)
{
if (imp.Roi != null)
{
this.chkPrintSelection.Enabled = true;
}
}
}
private void PrinterSetup_Load(object sender, EventArgs e)
{
}
public int Scaling
{
get { return (int)this.numScaling.Value; }
set { this.numScaling.Value = value; }
}
public bool DrawBorder
{
get { return this.chkDrawBorder.Checked; }
set { chkDrawBorder.Checked = value; }
}
public bool Center
{
get { return this.chkCenter.Checked; }
set { this.chkCenter.Checked = value; }
}
public bool PrintTitle
{
get { return this.chkPrintTitle.Checked; }
set { this.chkPrintTitle.Checked = value; }
}
public bool PrintSelection
{
get { return this.chkPrintSelection.Checked; }
set { this.chkPrintSelection.Checked = value; }
}
public bool Rotate
{
get { return this.chkRotate.Checked; }
set { this.chkRotate.Checked = value; }
}
public bool ActualSize
{
get { return this.chkActualSize.Checked; }
set { this.chkActualSize.Checked = value; }
}
}
}