Click or drag to resize

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

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
)

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 pages range 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.
See Also