summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@code.google.com>2014-12-30 15:25:53 -0500
committerKurt Jung <kurt.w.jung@code.google.com>2014-12-30 15:25:53 -0500
commitbcd04ae344fd396cb73a139ecb24c3f5bb7e220a (patch)
tree3aa3e5ae48008ada2dafb9ef7a0737e899dc91cc /fpdf_test.go
parenta1066f20797e7cacc7b0c9b9bc410cb40733816a (diff)
Added additional layout directives for document viewing
Diffstat (limited to 'fpdf_test.go')
-rw-r--r--fpdf_test.go1
1 files changed, 1 insertions, 0 deletions
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)