Creditsafe, Datenserver, Bonit., Kundenuebersicht, etc.

This commit is contained in:
2025-09-04 17:03:36 +02:00
parent 410e292b44
commit 9769c6fac1
6 changed files with 42 additions and 29 deletions

View File

@@ -2283,7 +2283,7 @@ Public Class DATENVERVER_OPTIONS
End Function
Public Shared Function addAttachementToPDF(File As String, attPath As String) As String
Public Shared Function addAttachementToPDF(File As String, attPath As String, Optional renameFile As String = "") As String
Try
Dim pdf As New Spire.Pdf.PdfDocument()
@@ -2295,6 +2295,8 @@ Public Class DATENVERVER_OPTIONS
Dim attachment As PdfAttachment = New PdfAttachment(attPath)
If renameFile <> "" Then attachment.FileName = renameFile
docPdf.Attachments.Add(attachment)
docPdf.SaveToFile(File)
End If