SignedPDFs Source

Note: The function DesktopFolder is deprecated in Xojo. You can replace it with SpecialFolder.desktop.

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /kunden/ on line 244
Class App
Inherits Application
// Constants
Const kFileQuitShortcut = Ctrl+Q
Const kFileQuit = E&xit
Const kEditClear = &Delete

// Event implementations
Sub Open()
dim pdf as new DynapdfMBS
dim f as FolderItem


call pdf.CreateNewPDF f
call pdf.Append

call pdf.SetFont "Times", pdf.kfsItalic, 40.0, true, pdf.kcp1252
call pdf.WriteFText pdf.ktaCenter, "A signed PDF document"

call pdf.EndPage

'call pdf.CloseFile

dim certificate as FolderItem


if pdf.CloseAndSignFile(certificate, "test", "","") then
// ok
MsgBox "Failed to add signature"
end if



End Sub
End Class

Class Window1
Inherits Window
End Class

All movies

Watch other Xojo videos:

ThumbnailMBS Xojo Plugin, June 2021 News


27:58 minutes
ThumbnailMBS Xojo Plugins 21.1


23:12 minutes
ThumbnailInstalling a Xojo Web App Server


28:19 minutes
ThumbnailMBS Plugin Installation Win


22:03 minutes
ThumbnailMBS Plugin Installation Mac


25:17 minutes
ThumbnailXDC 2020 MBS Plugins Presentation


38:59 minutes

MBS FileMaker blog

Start Chat