mdmAntrag, KI, etc.

This commit is contained in:
2025-05-14 14:46:33 +02:00
parent a53cd730d3
commit c86f82483a
6 changed files with 135 additions and 106 deletions

View File

@@ -609,7 +609,7 @@ Public Class cAllgemein
Dim PdfCopyProvider As New iTextSharp.text.pdf.PdfCopy(srcDoc, New FileStream(TargetFile, System.IO.FileMode.Create))
PdfCopyProvider.SetFullCompression()
srcDoc.Open()
For p As Integer = pageStart To pagesEnd
For p As Integer = pageStart To (pageStart + pagesEnd) - 1
If p > Reader.NumberOfPages Then
MsgBox("Seitenanzahl überschritten!")
srcDoc.Close() : Reader.Close()