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