Problems with pdf editing again
Posted: Tue Apr 20, 2010 11:19 am
On past december I ask you about how create an editable pdf. This is the thread:
http://forum.stimulsoft.com/Default.aspx?g=posts&t=2774
On this moment, I was done a simple test project that results ok.
Now, is the time for activate this funcionality on my project, and again don't work.
Using the same test program, the resulting pdf is editable, but I can't save the edited PDF if I use Adobe reader. Only using Adobe professional.
The piece of code that I am using is:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim stiExportPdf As New Stimulsoft.Report.Export.StiPdfExportService
Dim file_pdf As String
Dim exportSettings As New Stimulsoft.Report.Export.StiPdfExportSettings
exportSettings.UserAccessPrivileges = Stimulsoft.Report.Export.StiUserAccessPrivileges.All
file_pdf = "C:\tmp_pdf\llistat1.pdf"
Stimulsoft.Report.StiOptions.Export.Pdf.AllowEditablePdf = True
StiReport1.Render()
StiReport1.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, file_pdf, exportSettings)
End Sub
The difference from december is the use of different version of libreries. Now I am using 2010.2.707.0
Thank you
http://forum.stimulsoft.com/Default.aspx?g=posts&t=2774
On this moment, I was done a simple test project that results ok.
Now, is the time for activate this funcionality on my project, and again don't work.
Using the same test program, the resulting pdf is editable, but I can't save the edited PDF if I use Adobe reader. Only using Adobe professional.
The piece of code that I am using is:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim stiExportPdf As New Stimulsoft.Report.Export.StiPdfExportService
Dim file_pdf As String
Dim exportSettings As New Stimulsoft.Report.Export.StiPdfExportSettings
exportSettings.UserAccessPrivileges = Stimulsoft.Report.Export.StiUserAccessPrivileges.All
file_pdf = "C:\tmp_pdf\llistat1.pdf"
Stimulsoft.Report.StiOptions.Export.Pdf.AllowEditablePdf = True
StiReport1.Render()
StiReport1.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, file_pdf, exportSettings)
End Sub
The difference from december is the use of different version of libreries. Now I am using 2010.2.707.0
Thank you