summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-10-10 15:24:43 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-10-10 15:24:43 -0400
commit92858a8b5ff04e4196597d9d517f3b2a0d651579 (patch)
tree4697ba0ba2019cd48d29ad462da280bd18aa6e36 /fpdf_test.go
parent5847afd8a205853a7effbf749b7a388ae325eb24 (diff)
Conditionally sort image catalog. Correct small typos.
Diffstat (limited to 'fpdf_test.go')
-rw-r--r--fpdf_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index cc0b91c..2238ccd 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -113,7 +113,6 @@ func Example() {
// This example demonsrates the generation of headers, footers and page breaks.
func ExampleFpdf_AddPage() {
pdf := gofpdf.New("P", "mm", "A4", "")
- pdf.SetCatalogSort(true)
pdf.SetHeaderFunc(func() {
pdf.Image(example.ImageFile("logo.png"), 10, 6, 30, 0, false, "", 0, "")
pdf.SetY(5)