v0.0.453
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m18s

This commit is contained in:
Mike Schwörer 2024-05-14 14:57:10 +02:00
parent dfc319573c
commit a55ee1a6ce
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.452" const GoextVersion = "0.0.453"
const GoextVersionTimestamp = "2024-05-14T12:48:43+0200" const GoextVersionTimestamp = "2024-05-14T14:57:10+0200"

View File

@ -49,6 +49,10 @@ func NewPDFBuilder(orientation PDFOrientation, size PDFSize, unicode bool) *WPDF
return b return b
} }
func (b *WPDFBuilder) FPDF() *gofpdf.Fpdf {
return b.b
}
func (b *WPDFBuilder) SetMargins(v PDFMargins) { func (b *WPDFBuilder) SetMargins(v PDFMargins) {
b.b.SetMargins(v.Left, v.Top, v.Right) b.b.SetMargins(v.Left, v.Top, v.Right)
} }