You are here: Symbol Reference > Stimulsoft.Report.Web Namespace > StiReportResponse Class > StiReportResponse Methods > ResponseAsPdf Method > ResponseAsPdf Method (StiReport, StiPagesRange, float, float, bool, bool, bool, string, string, StiUserAccessPrivileges, StiPdfEncryptionKeyLength, bool, bool)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
StiReportResponse.ResponseAsPdf Method (StiReport, StiPagesRange, float, float, bool, bool, bool, string, string, StiUserAccessPrivileges, StiPdfEncryptionKeyLength, bool, bool)

Exports report to PDF document and saves this document to the current webpage response.

Syntax
C++
C#
Visual Basic
public: void ResponseAsPdf( StiReport report, StiPagesRange pageRange, float imageQuality, float imageResolution, bool embeddedFonts, bool standardPdfFonts, bool exportRtfTextAsImage, string passwordUser, string passwordOwner, StiUserAccessPrivileges userAccessPrivileges, StiPdfEncryptionKeyLength keyLength, bool useUnicode, bool saveFileDialog );
Parameters
Parameters 
Description 
report 
Report, which is to be exported. 
pageRange 
Describes pages range for the export. 
imageQuality 
A float value that sets the quality of exporting images. Default value is 1. 
imageResolution 
A float value that sets the resolution of exporting images. Default value is 100. 
embeddedFonts 
If embeddedFonts is true then, when exporting, fonts of the report will be included in the resulting document. 
standardPdfFonts 
If standardPdfFont is true then, when exporting, non-standard fonts of the report will be replaced by the standard fonts in resulting document. 
passwordUser 
The user password that manage the exported document access. 
passwordOwner 
The owner password that manage ability to modify exported document. 
userAccessPrivileges 
Defines user access privileges to the document exported. 
keyLength 
Defines the encryption key length to protect the document access after export. 
useUnicode 
If useUnicode is true then in pdf files unicode is used. 
saveFileDialog 
If saveFileDialog is true then the browser Save Dialog Box will be displayed. 
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.