2015-06-26 23:13:20 +00:00
|
|
|
package pdf2d
|
|
|
|
|
|
|
|
import "github.com/stanim/gofpdf"
|
|
|
|
|
2015-06-27 14:21:13 +00:00
|
|
|
// SaveToPdfFile creates and saves a pdf document to a file
|
2015-06-26 23:13:20 +00:00
|
|
|
func SaveToPdfFile(filePath string, pdf *gofpdf.Fpdf) error {
|
|
|
|
return pdf.OutputFileAndClose(filePath)
|
|
|
|
}
|