Is it possible to create a pdf document in PureBasic?
I found this code but it generates an error! I am with Purebasic v6.12 on Windows 11
Thanks to you
Code: Select all
If StartVectorDrawing(PdfVectorOutput("test.pdf", 595, 842))
VectorFont(FontID(0), 25)
MovePathCursor(20, 20)
DrawVectorText("This is page 1...")
NewVectorPage()
MovePathCursor(20, 20)
DrawVectorText("This is page 2...")
StopVectorDrawing()
EndIf[15 :21 :36] [COMPILER] Ligne 15: Erreur de syntaxe.
[15 :21 :44] Attente du démarrage du programme...
[15 :21 :43] Type d'exécutable: Windows - x64 (64bit, Unicode)
[15 :21 :44] Exécutable démarré.
[15 :21 :44] [ERREUR] Ligne: 3
[15 :21 :44] [ERREUR] StartVectorDrawing(): L'argument 'Output' spécifié n'est pas valide.
[15 :21 :50] Le programme a été arrêté.


