Save To PDF

Posted by: vecdiatayilmaz on 19 December 2025, 4:36 am EST

  • Posted 19 December 2025, 4:36 am EST

    Hello,

    I am writing from Türkiye and we want to purchase ComponentOne. We want to upload a PDF to test our Forms but we are getting an error. Please help us by writing this code. Thank you.

    Private Sub C1PreviewPane1_btnFileSave1_Click(sender As Object, e As EventArgs) Handles C1PreviewPane1_btnFileSave1.Click

    C1PreviewPane1.ExportToPDF(“c:\temp\C1Preview.pdf”, True, True)

    ’ C1PrintDocument1.ToString()

    End Sub

    we have C1PrintDocument1 and C1PreviewPane1_fileStrip1

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels