summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2018-11-10 14:27:04 -0500
committerKurt <kurt.w.jung@gmail.com>2018-11-10 14:27:04 -0500
commit2969a68dc5e762d0d5b8aac519058a9f73320316 (patch)
tree8872bdf6cccafa43b6d0b4583e79e9161ccbdd06
parent412d885ded2ae0364f78168e8e88c9451c61d32b (diff)
Change name of page box example so it is linked from SetPageBox() in documentation
-rw-r--r--fpdf_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index 0e947ed..89c90b6 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -2195,7 +2195,7 @@ func ExampleNewGrid() {
}
// This example demonstrates the use of a page box
-func ExamplePageBox() {
+func ExampleFpdf_SetPageBox() {
// pdfinfo (from http://www.xpdfreader.com) reports the following for this example:
// ~ pdfinfo -box pdf/Fpdf_PageBox.pdf
// Producer: FPDF 1.7