Page 1 of 1

PdfVectorOutput example didn't compiles in x32

Posted: Sat Apr 27, 2024 7:09 am
by morosh
Hello:
the following snippet didn't compiles in x32, I got it from the help, I've IMA error at StopVectorDrawing():

Code: Select all

  LoadFont(0, "Times New Roman", 20)
    
  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
  
  DeleteFile("test.pdf")
  
I remember it compiles fine with earlier betas.
No problem with x64
using W10

Thanks

Re: PdfVectorOutput example didn't compiles in x32

Posted: Sat Apr 27, 2024 8:04 am
by mk-soft
Fixed with PB v6.11 Beta2

Re: PdfVectorOutput example didn't compiles in x32

Posted: Sat Apr 27, 2024 8:32 am
by morosh
Thank you