StiPdfExportService Class

Namespace: Stimulsoft.Report.Export

Inheritance

Inherits from: StiExportService

Properties

Property Type Description
CompatibleMode160 static bool Compatibility with version 1.60
Data StiMapData  
Fill Color  
PrintScaling static bool PrintScaling property shows, how Acrobat Reader must to use margins of the printer. if true, then default settings of the Acrobat Reader will be used (usually “Fit to printer margin”) else PrintScaling parameter of the pdf file will be set to None.
ShadowFill Color  

Methods

Method Returns Description
ClearFontsCache void  
Clone StiPdfData  
Export void Exports rendered report to a pdf file. Also file may be sent via e-mail.
ExportTo void Exports a document to the stream without dialog of the saving file.
GetCreatorString string  
GetFilter string Returns a filter for the pdf files.
GetHatchNumber (+1 overloads) int Returns number of hatch in table of hatches.
GetShadingFunctionNumber int Returns number of shadingFunctionArray in table of shadingFunctions.
InitPdfFonts void  
OnSplitTextIntoLines string  

Method Details

ClearFontsCache

ClearFontsCache(): void


Clone

Clone(): StiPdfData

Returns StiPdfData


Export

Export(report: StiReport, fileName: string, sendEMail: bool, guiMode: StiGuiMode): void

Exports rendered report to a pdf file. Also file may be sent via e-mail.

Parameters

  • report (StiReport) — A report which is to be exported.
  • fileName (string) — A name of the file for exporting a rendered report.
  • sendEMail (bool) — A parameter indicating whether the exported report will be sent via e-mail.
  • guiMode (StiGuiMode)

ExportTo

ExportTo(report: StiReport, stream: Stream, settings: StiExportSettings): void

Exports a document to the stream without dialog of the saving file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream in which report will be exported.
  • settings (StiExportSettings) — A settings for the report exporting.

GetCreatorString

GetCreatorString(): string

Returns string


GetFilter

GetFilter(): string

Returns a filter for the pdf files.

Returns string — Returns a filter for the Pdf files.


GetHatchNumber

GetHatchNumber(brush: StiHatchBrush): int

Returns number of hatch in table of hatches.

Parameters

Returns int


GetHatchNumber(brush: HatchBrush): int

Parameters

Returns int


GetShadingFunctionNumber

GetShadingFunctionNumber(**: Colorcolors): int

Returns number of shadingFunctionArray in table of shadingFunctions.

Parameters

  • ** (Colorcolors)

Returns int


InitPdfFonts

InitPdfFonts(): void


OnSplitTextIntoLines

OnSplitTextIntoLines(e: Stimulsoft.Report.Events.StiSplitTextIntoLinesEventArgs): string

Parameters

Returns string

Events

Event Type Description
SplitTextIntoLinesEvent Events.StiSplitTextIntoLinesEventHandler  

Fields

Field Type Description
Alignment StiTextHorAlignment  
Angle double  
Colors Color[]  
Component StiComponent Component.
Component StiComponent  
Content byte[]  
Content2 byte[]  
Count int  
DestPage int  
DestY double  
First int  
FontAscF double  
FontColor Color  
FontDescF double  
FontLineHeight double  
FontLineHeightWithoutLineSpacing double  
FontNumber int  
FontSize double  
FunctionIndex int  
Guid string  
Height double Height of the border.
Height int  
Height double  
Height double  
Height double  
ImageFormat StiImageFormat  
Last int  
Link string  
Matrix1 Matrix  
Multiline bool  
Name string  
NeedWidthAlign bool  
Next int  
Page int  
Page int  
Page int  
Page int  
Parent int  
Prev int  
SizeInPt double  
Text string  
TextFont IStiFont  
TextH double  
TextHorAlign IStiTextHorAlignment  
TextLinesList List  
TextOpt IStiTextOptions  
TextQualityOffset double  
TextW double  
TextX double  
TextY double  
Title string  
TrimCountLines int  
UseUnicode bool  
UseWysiwyg bool  
Used bool  
Width double Width of the border.
Width int  
Width double  
Width double  
Width double  
X double Coordinate of the border.
X double  
X double  
X double  
Y double Y coordinate of the border.
Y double  
Y double  
Y double  
Y double