summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
Diffstat (limited to 'fpdf.go')
-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.
//