summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
Diffstat (limited to 'fpdf.go')
-rw-r--r--fpdf.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/fpdf.go b/fpdf.go
index 0b6e440..9a578b1 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -266,16 +266,16 @@ func (f *Fpdf) SetLeftMargin(margin float64) {
}
}
-// Return the cell margin. This is the amount of space before and after the text
-// within a cell that's left blank, and is in units passed to New(). It defaults
-// to 1mm.
+// GetCellMargin returns the cell margin. This is the amount of space before
+// and after the text within a cell that's left blank, and is in units passed
+// to New(). It defaults to 1mm.
func (f *Fpdf) GetCellMargin() float64 {
return f.cMargin
}
-// Set the cell margin. This is the amount of space before and after the text
-// within a cell that's left blank, and is in units passed to New(). It defaults
-// to 1mm.
+// SetCellMargin set the cell margin. This is the amount of space before and
+// after the text within a cell that's left blank, and is in units passed to
+// New().
func (f *Fpdf) SetCellMargin(margin float64) {
f.cMargin = margin
}