forked from signintech/gopdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_sizes.go
61 lines (41 loc) · 1.84 KB
/
page_sizes.go
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
package gopdf
// PageSizeLetter page format
var PageSizeLetter = &Rect{W: 612, H: 792, unitOverride: UnitPT}
// PageSizeLetterSmall page format
var PageSizeLetterSmall = &Rect{W: 612, H: 792, unitOverride: UnitPT}
// PageSizeTabloid page format
var PageSizeTabloid = &Rect{W: 792, H: 1224, unitOverride: UnitPT}
// PageSizeLedger page format
var PageSizeLedger = &Rect{W: 1224, H: 792, unitOverride: UnitPT}
// PageSizeLegal page format
var PageSizeLegal = &Rect{W: 612, H: 1008, unitOverride: UnitPT}
// PageSizeStatement page format
var PageSizeStatement = &Rect{W: 396, H: 612, unitOverride: UnitPT}
// PageSizeExecutive page format
var PageSizeExecutive = &Rect{W: 540, H: 720, unitOverride: UnitPT}
// PageSizeA0 page format
var PageSizeA0 = &Rect{W: 2384, H: 3371, unitOverride: UnitPT}
// PageSizeA1 page format
var PageSizeA1 = &Rect{W: 1685, H: 2384, unitOverride: UnitPT}
// PageSizeA2 page format
var PageSizeA2 = &Rect{W: 1190, H: 1684, unitOverride: UnitPT}
// PageSizeA3 page format
var PageSizeA3 = &Rect{W: 842, H: 1190, unitOverride: UnitPT}
// PageSizeA4 page format
var PageSizeA4 = &Rect{W: 595, H: 842, unitOverride: UnitPT}
// PageSizeA4Small page format
var PageSizeA4Small = &Rect{W: 595, H: 842, unitOverride: UnitPT}
// PageSizeA5 page format
var PageSizeA5 = &Rect{W: 420, H: 595, unitOverride: UnitPT}
// PageSizeB4 page format
var PageSizeB4 = &Rect{W: 729, H: 1032, unitOverride: UnitPT}
// PageSizeB5 page format
var PageSizeB5 = &Rect{W: 516, H: 729, unitOverride: UnitPT}
// PageSizeFolio page format
var PageSizeFolio = &Rect{W: 612, H: 936, unitOverride: UnitPT}
// PageSizeQuarto page format
var PageSizeQuarto = &Rect{W: 610, H: 780, unitOverride: UnitPT}
// PageSize10x14 page format
var PageSize10x14 = &Rect{W: 720, H: 1008, unitOverride: UnitPT}
// // PageSizeEnvelope page format
// var PageSizeEnvelope = Rect{W:???,H:???}