From 1bef4f81c40b64d68788e590003f4f8fbdc4d296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20S=C5=82omka?= Date: Sat, 2 Dec 2017 20:28:43 +0100 Subject: Add consts for page orientations (#150) --- fpdf_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdf_test.go') 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!") -- cgit v1.2.1-24-ge1ad