From bcd04ae344fd396cb73a139ecb24c3f5bb7e220a Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Tue, 30 Dec 2014 15:25:53 -0500 Subject: Added additional layout directives for document viewing --- fpdf_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'fpdf_test.go') diff --git a/fpdf_test.go b/fpdf_test.go index 2b51f49..123dcd0 100644 --- a/fpdf_test.go +++ b/fpdf_test.go @@ -242,6 +242,7 @@ func ExampleFpdf_tutorial04() { var y0 float64 var crrntCol int pdf := gofpdf.New("P", "mm", "A4", "") + pdf.SetDisplayMode("fullpage", "TwoColumnLeft") titleStr := "20000 Leagues Under the Seas" pdf.SetTitle(titleStr, false) pdf.SetAuthor("Jules Verne", false) -- cgit v1.2.1-24-ge1ad