forked from finalcut/SharpPDFLabel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Enums.cs
43 lines (39 loc) · 944 Bytes
/
Enums.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
using iTextSharp.text;
using System;
namespace SharpPDFLabel
{
public class Enums
{
/// <summary>
/// The page size of the document
/// See the Switch statement in LabelCreator.CreatePDF() if you add a new one
/// </summary>
public enum PageSize
{
A4,
Letter
}
/// <summary>
/// The possible styles for a font
/// Taken straight from iTextSharp
/// </summary>
[Flags]
public enum FontStyle
{
BOLD = 1,
BOLDITALIC = 3,
DEFAULTSIZE = 12,
ITALIC = 2,
NORMAL = 0,
STRIKETHRU = 8,
UNDEFINED = -1,
UNDERLINE = 4,
}
public enum Alignment
{
LEFT = Element.ALIGN_LEFT,
CENTER = Element.ALIGN_CENTER,
RIGHT = Element.ALIGN_RIGHT
}
}
}