Bugfix, fillPFG-> getPage

This commit is contained in:
2023-10-17 10:01:36 +02:00
parent e12394b8b7
commit b56e276882

View File

@@ -955,7 +955,10 @@ Public Class cFormularManager
If listToWrite IsNot Nothing Then
For Each i In listToWrite
Dim overStr As PdfContentByte = stamper.GetOverContent(i.getPage)
If i.Text <> "" Then write(overStr, i, pdf.GetPageSize(i.getPage).Height)
If overStr IsNot Nothing AndAlso i.Text <> "" Then
Dim height = pdf.GetPageSize(i.getPage).Height
If height IsNot Nothing Then write(overStr, i, height)
End If
Next
End If
End If