-
Notifications
You must be signed in to change notification settings - Fork 21
/
Helpers.cs
50 lines (49 loc) · 1.93 KB
/
Helpers.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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpPDFLabel
{
public static class Helpers
{
public static Label GetLabel(Enums.LabelStyle LabelType)
{
switch (LabelType)
{
case Enums.LabelStyle.L7656:
return new SharpPDFLabel.Labels.A4Labels.Avery.L7656();
case Enums.LabelStyle.L7654:
return new SharpPDFLabel.Labels.A4Labels.Avery.L7654();
case Enums.LabelStyle.L7160:
return new SharpPDFLabel.Labels.A4Labels.Avery.L7160();
case Enums.LabelStyle.L5162:
case Enums.LabelStyle.L5262:
case Enums.LabelStyle.L5522:
case Enums.LabelStyle.L5962:
case Enums.LabelStyle.L8162:
case Enums.LabelStyle.L8252:
case Enums.LabelStyle.L8462:
case Enums.LabelStyle.L8662:
return new SharpPDFLabel.Labels.A4Labels.Avery.L5162();
case Enums.LabelStyle.L5160:
case Enums.LabelStyle.L5260:
case Enums.LabelStyle.L5520:
case Enums.LabelStyle.L5660:
case Enums.LabelStyle.L5810:
case Enums.LabelStyle.L5960:
case Enums.LabelStyle.L5970:
case Enums.LabelStyle.L5971:
case Enums.LabelStyle.L5972:
case Enums.LabelStyle.L5979:
case Enums.LabelStyle.L5980:
case Enums.LabelStyle.L8160:
case Enums.LabelStyle.L8460:
case Enums.LabelStyle.L8660:
case Enums.LabelStyle.L8810:
return new SharpPDFLabel.Labels.A4Labels.Avery.L5160();
default: return null;
}
}
}
}