StiPdfExportServiceExportPdf Method (StiReport, Stream, StiPagesRange, Single, Single, Boolean, Boolean, Boolean, String, String, StiUserAccessPrivileges, StiPdfEncryptionKeyLength) |
Exports a rendered report to the pdf file.
Namespace:
Stimulsoft.Report.Export
Assembly:
Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax public void ExportPdf(
StiReport report,
Stream stream,
StiPagesRange pageRange,
float imageQuality,
float imageResolution,
bool embeddedFonts,
bool standardPdfFonts,
bool compressed,
string passwordInputUser,
string passwordInputOwner,
StiUserAccessPrivileges userAccessPrivileges,
StiPdfEncryptionKeyLength keyLength
)
Public Sub ExportPdf (
report As StiReport,
stream As Stream,
pageRange As StiPagesRange,
imageQuality As Single,
imageResolution As Single,
embeddedFonts As Boolean,
standardPdfFonts As Boolean,
compressed As Boolean,
passwordInputUser As String,
passwordInputOwner As String,
userAccessPrivileges As StiUserAccessPrivileges,
keyLength As StiPdfEncryptionKeyLength
)
Parameters
- report
- Type: Stimulsoft.ReportStiReport
A report which is to be exported. - stream
- Type: System.IOStream
A stream for the export of a document. - pageRange
- Type: Stimulsoft.ReportStiPagesRange
Describes range of pages of the document for the export. - imageQuality
- Type: SystemSingle
A float value that sets the quality of exporting images. Default value is 1. - imageResolution
- Type: SystemSingle
A float value that sets the resolution of exporting images. Default value is 100. - embeddedFonts
- Type: SystemBoolean
If the embeddedFont is true then, when exporting, fonts of the report will be included in the resulting document. - standardPdfFonts
- Type: SystemBoolean
If standardPdfFont is true then, when exporting, non-standard fonts of the report will be replaced by the standard fonts in resulting document. - compressed
- Type: SystemBoolean
A parameter which controls a compression of the exported pdf document. - passwordInputUser
- Type: SystemString
An user password for the exported pdf file which enables access to content of the document
in according with the privileges from the userAccesPrivileges parameter. - passwordInputOwner
- Type: SystemString
An owner password which supplies full control for the content of the exported pdf file. - userAccessPrivileges
- Type: Stimulsoft.Report.ExportStiUserAccessPrivileges
A parameter which controls access privileges for the user. - keyLength
- Type: Stimulsoft.Report.ExportStiPdfEncryptionKeyLength
A parameter for setting an encryption key lenght of the resulting pdf file.
See Also