Click or drag to resize

StiPdfExportServiceExportPdf Method (StiReport, Stream, StiPagesRange, Single, Single, Boolean, Boolean, Boolean, String, String, StiUserAccessPrivileges)

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,
	string passwordInputUser,
	string passwordInputOwner,
	StiUserAccessPrivileges userAccessPrivileges
)

Parameters

report
Type: Stimulsoft.ReportStiReport
A report which is to be exported.
stream
Type: System.IOStream
A stream for 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.
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.
See Also