summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2019-08-12 10:52:03 -0400
committerKurt <kurt.w.jung@gmail.com>2019-08-12 10:52:03 -0400
commitfdac35522f22a910970fc07bd6922f4f53ba6642 (patch)
treee841d2187b63a8179cebe91ffd8f09d72f9e70f8
parent319d3bcaada7efdf9a8582da24b8a2b9da4a4b78 (diff)
Corrected comment to match function name
-rw-r--r--contrib/gofpdi/gofpdi.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/gofpdi/gofpdi.go b/contrib/gofpdi/gofpdi.go
index 58f8fae..e600fb1 100644
--- a/contrib/gofpdi/gofpdi.go
+++ b/contrib/gofpdi/gofpdi.go
@@ -28,9 +28,10 @@ func ImportPage(f gofpdiPdf, sourceFile string, pageno int, box string) int {
return getTemplateID(f, pageno, box)
}
-// ImportPage imports a page of a PDF with the specified box (/MediaBox,
-// /TrimBox, /ArtBox, /CropBox, or /BleedBox). Returns a template id that can
-// be used with UseImportedTemplate to draw the template onto the page.
+// ImportPageFromStream imports a page of a PDF with the specified box
+// (/MediaBox, TrimBox, /ArtBox, /CropBox, or /BleedBox). Returns a template id
+// that can be used with UseImportedTemplate to draw the template onto the
+// page.
func ImportPageFromStream(f gofpdiPdf, rs *io.ReadSeeker, pageno int, box string) int {
// Set source stream for fpdi
fpdi.SetSourceStream(rs)