StiPdfExportServiceExportPdf Method (StiReport, Stream, StiPagesRange, Single, Single, Boolean, Boolean, Boolean, Boolean, String, String, StiUserAccessPrivileges, StiPdfEncryptionKeyLength) |
Exports a document 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,
bool exportRtfTextAsImage,
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,
exportRtfTextAsImage 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 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. - exportRtfTextAsImage
- Type: SystemBoolean
If true then the rendered report will be exported as one image. - passwordInputUser
- Type: SystemString
A 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 length of the resulting pdf file.
See Also