diff options
author | Paweł Słomka <ppawelslomka@gmail.com> | 2017-12-02 20:28:43 +0100 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2017-12-02 14:28:43 -0500 |
commit | 1bef4f81c40b64d68788e590003f4f8fbdc4d296 (patch) | |
tree | cd8bcc45c097cae05bdc15628fe0d95af69ca665 /fpdf_test.go | |
parent | a3f28ba717a677e133f159e3fc1d42b249c2b511 (diff) |
Add consts for page orientations (#150)
Diffstat (limited to 'fpdf_test.go')
-rw-r--r-- | fpdf_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdf_test.go b/fpdf_test.go index 76ef558..ff41fd2 100644 --- a/fpdf_test.go +++ b/fpdf_test.go @@ -191,7 +191,7 @@ func lorem() string { // finally retrieved with the output call where it can be handled by the // application. func Example() { - pdf := gofpdf.New("P", "mm", "A4", "") + pdf := gofpdf.New(gofpdf.OrientationPortrait, "mm", "A4", "") pdf.AddPage() pdf.SetFont("Arial", "B", 16) pdf.Cell(40, 10, "Hello World!") |