summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2018-12-27 10:00:23 -0500
committerKurt <kurt.w.jung@gmail.com>2018-12-27 10:00:23 -0500
commit8baf016b4b802d4dfcc5819a4d101a7c5c858981 (patch)
treeb12d3609e83172c9a56e6ee5b218e5393f226cd4
parent6bd017132c2142e181eb6f945c06a90f45027d7d (diff)
Reference SubWrite example
-rw-r--r--subwrite.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/subwrite.go b/subwrite.go
index dbeee5b..e7ebd77 100644
--- a/subwrite.go
+++ b/subwrite.go
@@ -10,6 +10,8 @@ package gofpdf
// identifier returned by AddLink() or 0 for no internal link. linkStr is a
// target URL or empty for no external link. A non--zero value for link takes
// precedence over linkStr.
+//
+// The SubWrite example demonstrates this method.
func (f *Fpdf) SubWrite(ht float64, str string, subFontSize, subOffset float64, link int, linkStr string) {
if f.err != nil {
return