summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@code.google.com>2013-11-19 05:51:35 -0500
committerKurt Jung <kurt.w.jung@code.google.com>2013-11-19 05:51:35 -0500
commitde815d3fa28b866e26d6564b164233b7bed812fd (patch)
tree1d9f8997a2b7290543a6010fdc2164accc66a2ec
parent914b5fdb6d43919fcc8228624315826853ded0c9 (diff)
Restore comment about width and height in CellFormat.
-rw-r--r--fpdf.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/fpdf.go b/fpdf.go
index 0a147d6..0b6e440 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -1452,8 +1452,9 @@ func (f *Fpdf) SetAcceptPageBreakFunc(fnc func() bool) {
// If automatic page breaking is enabled and the cell goes beyond the limit, a
// page break is done before outputting.
//
-// w and h specify the width and height of the cell. If w is 0, it will be set
-// to the remaining horizontal space on the page (until the right margin).
+// w and h specify the width and height of the cell. If w is 0, the cell
+// extends up to the right margin. Specifying 0 for h will result in no output,
+// but the current position will be advanced by w.
//
// txtStr specifies the text to display.
//