Question about function export to pdf

Stimulsoft Ultimate discussion
Post Reply
pdt1704
Posts: 60
Joined: Tue Nov 15, 2011 9:12 pm

Question about function export to pdf

Post by pdt1704 »

Hi all,
Stimulsoft report have function export to pdf file include digital signature?

Please help.
Thanks
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question about function export to pdf

Post by HighAley »

Hello.

Yes, you could add the Digital signature to the report.
For more information read the User Manual.

This feature is available in .NET report engine only.
Could you specify which our component you use?

Thank you.
pdt1704
Posts: 60
Joined: Tue Nov 15, 2011 9:12 pm

Re: Question about function export to pdf

Post by pdt1704 »

Hi,
I uses .Net web report with version 2016.1.16
Could you give example used Digital signature with export pdf file?
Please help.

Thanks.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question about function export to pdf

Post by HighAley »

Hello.

Could you specify which our Viewer you use?
Please, send us a name of the component or its screenshot.

Thank you.
pdt1704
Posts: 60
Joined: Tue Nov 15, 2011 9:12 pm

Re: Question about function export to pdf

Post by pdt1704 »

Hi,
I used Stiwebviewer of Stimulsoft.Report.Web to show report, but sometimes I used Stimulsoft.Report.ExportDocument to export report direct to pdf and show this file. Now I would like set digital signature for pdf file within processing export pdf together both case(Stiwebviewer and Stimulsoft.Report.ExportDocument).

Please help.
Thanks.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question about function export to pdf

Post by HighAley »

Hello.

You could handle the ReportExport event of the StiWebViewer1 to change the export settings or set them in the Export dialog.

If you use ExportDocument method, you could specify settings with StiPdfExportSettings. Here is sample code:

Code: Select all

var settings = new StiPdfExportSettings();
settings.UseDigitalSignature = true;
settings.GetCertificateFromCryptoUI = false;
settings.UseLocalMachineCertificates = true;
settings.SubjectNameString = certificateName;
Thank you.
divs
Posts: 5
Joined: Thu Jul 16, 2020 1:08 pm

Re: Question about function export to pdf

Post by divs »

HighAley wrote: Mon Jul 11, 2016 7:42 am Hello.

Yes, you could add the Digital signature to the report.
For more information read the User Manual.

This feature is available in .NET report engine only.
Could you specify which our component you use?

Thank you.
Is this available for (.net core 2.1)
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Question about function export to pdf

Post by Lech Kulikowski »

Hello,

At the current moment, Digital signature is not supported in the NET Core version.

Thank you.
Post Reply