StimulsoftReports.Engine.NetCore.PersianPdfExporter 2024.2.4

dotnet add package StimulsoftReports.Engine.NetCore.PersianPdfExporter --version 2024.2.4
NuGet\Install-Package StimulsoftReports.Engine.NetCore.PersianPdfExporter -Version 2024.2.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StimulsoftReports.Engine.NetCore.PersianPdfExporter" Version="2024.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StimulsoftReports.Engine.NetCore.PersianPdfExporter --version 2024.2.4
#r "nuget: StimulsoftReports.Engine.NetCore.PersianPdfExporter, 2024.2.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install StimulsoftReports.Engine.NetCore.PersianPdfExporter as a Cake Addin
#addin nuget:?package=StimulsoftReports.Engine.NetCore.PersianPdfExporter&version=2024.2.4

// Install StimulsoftReports.Engine.NetCore.PersianPdfExporter as a Cake Tool
#tool nuget:?package=StimulsoftReports.Engine.NetCore.PersianPdfExporter&version=2024.2.4

Project Title :

StimulsoftReports.Engine.NetCore.PersianPdfExporter 2024.2.4

Logo

This Project Developed For Exporting The Pdf With Persian Or English Language By Stimulsoft Report Engile For Dotnet Project.

In This Project All Of Problems Of Exporting Persian Pdf and English Pdf Are Solved And Combined Over 100 Different Font To Use.

The Font List That You Can Use For This Tools Explained In The End Of Readme File. Otherwise You Can Set Your Custom Own Font By Your Self To Export Pdf.

Methods And Implementation

All Methods
  StartReport();

  SetLicenseKey(licenseKey);

  AddCustomFontBytes(font, alias, fontStyle);

  AddCustomFontsBytes(fonts);

  AddCustomFontFile(font);

  AddCustomFontFiles(fonts);

  AddCustomFontResource(font);

  AddCustomFontResources(fonts);

  GetAllSettedFontsUntilNow();

  SetMrtFile(mrtFileBytes);

  AddDataContentAsBusinessObject(name, data);

  Render(showProgressState);

  ExportPdfToPath(absolutePath);

  ExportPdfAsMemoryStream(settings);

  ExportPdfAsCustomStream(customStream, settings);

  AddDataContentAsDataSource(StiReportDataSource data);     => Has 2 OverLoads Methods

  AddDataContent(name,data);                                => Has 19 OverLoad Methods

  AddDataContentAsBusinessObject(name, data)                => Has 3 OverLoad Methods

Feature Of Version 2024.2.4

  • Updated To Last Version Of Stimulsoft.NetEngine
  • Improve Performance

Methods Definition

  • StiReportEngine : Main Class
  • StartReport()
Description
First Method That You Must Call To Start Report Process .This Method Create an instance of StiReportConfiguration To Continue
  • SetLicenseKey(licenseKey)
Parameter Type Description
licenseKey string Required. Stimulsoft License Key To Set

Method Description : This Method Used For Set License Key To Stimulsoft Report Engine.

  • AddCustomFontByte(font, alias, fontStyle)
Parameter Type Description
font byte[] Required. Font Bytes
alias string? Not Required. Font Alies
fontStyle FontStyle? Not Required. Font Style

Method Description : This Method Used For Set Custom Font (Client Choice) To Stimulsoft Report Engine.

  • AddCustomFontByte(fonts)
Parameter Type Description
fonts IList<byte[]> Required. Fonts Bytes

Method Description : This Method Used For Set Custom Font (Client Choice) To Stimulsoft Report Engine.

  • AddCustomFontFile(font)
Parameter Type Description
font CustomFontFile Required. Dto Object With Font Details That You Want To Add

Method Description : This Method Used For Set Custom Font (Client Choice) To Stimulsoft Report Engine.

  • AddCustomFontFiles(fonts)
Parameter Type Description
fonts IList<CustomFontFile> Required. Dto Objects With Font Details That You Want To Add

Method Description : This Method Used For Set Custom Font (Client Choice) To Stimulsoft Report Engine.

  • AddCustomFontResource(font)
Parameter Type Description
font CustomFontResource Required. Dto Objects With Font Details That You Want To Add

Method Description : This Method Used For Set Custom Font (Client Choice) To Stimulsoft Report Engine.

  • AddCustomFontResources(fonts)
Parameter Type Description
fonts IList<CustomFontResource> Required. Dto Objects With Font Details That You Want To Add

Method Description : This Method Used For Set Custom Font (Client Choice) To Stimulsoft Report Engine.

  • AddCustomFont(fontName, extension, fontContent, alias)
Parameter Type Description
fontName string Required. Font Name
extension string Required. Font Extension
fontContent byte[] Required. Font Content As Bytes[]
alias string? Not Required. Font Alias

Method Description : This Method Used For Set Custom Font (Client Choice) To Stimulsoft Report Engine.

  • GetAllSettedFontsUntilNow()
Description
Get All Fonts That Be Setted Until Now

Method Description : This Method Give You All Fonts That added to Stimulsoft Report Engine until app stoped .

  • SetMrtFile(mrtFileBytes)
Parameter Type Description
mrtFileBytes byte[] Required. Mrt File Bytes

Method Description : This Method Used For Set Mrt File To Stimulsoft Report Engine.

  • AddDataContentAsBusinessObject(name, data);
Parameter Type Description
name string Required. Name Of Business Object Data That You Created In Stimulsoft Designer
data dynamic Required. Data Of Business Object Data That You Created In Stimulsoft Designer

Method Description : This Method Used For Set Datas That You Want To Export In PDF To Stimulsoft Report Engine.

  • AddDataContentAsBusinessObjects(datas);
Parameter Type Description
datas IList<StiBusinessObjectData> Required. Name Of Business Objects Data That You Created In Stimulsoft Designer

Method Description : This Method Used For Set Datas That You Want To Export In PDF To Stimulsoft Report Engine.

  • AddDataContentAsBusinessObject(name, data);
Parameter Type Description
datas IDictionary<string, dynamic> datas Required. Name Of Business Objects Data That You Created In Stimulsoft Designer

Method Description : This Method Used For Set Datas That You Want To Export In PDF To Stimulsoft Report Engine.

  • AddDataContentAsDataSources(data);
Parameter Type Description
datas IDictionary<string, StiReportDataSource> Required. Datas Of DataSources That You Created In Stimulsoft Designer

Method Description : This Method Used For Set Datas That You Want To Export In PDF To Stimulsoft Report Engine.

  • AddDataContentAsDataSource(data);
Parameter Type Description
data StiReportDataSource Required. Data Of DataSource That You Created In Stimulsoft Designer

Method Description : This Method Used For Set Datas That You Want To Export In PDF To Stimulsoft Report Engine.

  • AddDataContentAsDataSource(name, data);
Parameter Type Description
name string Required. Name Of DataSource That You Created In Stimulsoft Designer
data object Required. Data Of DataSource That You Created In Stimulsoft Designer

Method Description : This Method Used For Set Datas That You Want To Export In PDF To Stimulsoft Report Engine.

  • AddDataContent(name, data);
Parameter Type Description
name string Required. Name Of DataContent That You Created In Stimulsoft Designer
data object Required. Data Of DataContent That You Created In Stimulsoft Designer

Method Description : This Method Used For Set Datas That You Want To Export In PDF To Stimulsoft Report Engine.

  • AddDataContent(name, dataTable);
Parameter Type Description
name string Required. DataTable name in the Data Store.
dataTable DataTable Required. DataTable for registration

Method Description : Registers an object in the Data Store.

  • AddDataContent(name, dataSet);
Parameter Type Description
name string Required. Prefix for object registration.
dataSet DataSet Required. DataSet for registration.

Method Description : Registers all DataTables and DataRelations which are in the specified DataSet in the Data Store.

  • AddDataContent(dataSet);
Parameter Type Description
dataSet DataSet Required. DataSet for registration.

Method Description : Registers all DataTable and DataRelation which are in the specified DataSet in the Data Store.

  • AddDataContent(element, relationDirection);
Parameter Type Description
element DataSet Required. XElement for registration.
relationDirection DataSet Required. Specifies direction of the relation processing.

Method Description : Registers the DataCollection in the DataStore of the report.

  • AddDataContent(name, element, relationDirection);
Parameter Type Description
name string Required. Prefix for object registration.
element DataSet Required. XElement for registration.
relationDirection DataSet Required. Specifies direction of the relation processing.

Method Description : Registers the DataCollection in the DataStore of the report.

  • AddDataContent(name, dataView);
Parameter Type Description
name string Required. DataView name in the Data Store.
dataView DataView Required. DataView for registration.

Method Description : Registers the DataCollection in the DataStore of the report.

  • AddDataContent(dataView);
Parameter Type Description
dataView DataView Required. DataView for registration.

Method Description : Registers DataView in the Data Store.

  • AddDataContent(name, connection);
Parameter Type Description
name string Required. SqlConnection name in the Data Store.
connection SqlConnection Required. SqlConnection for registration.

Method Description : Registers SqlConnection in the Data Store.

  • AddDataContent(name, connection);
Parameter Type Description
name string Required. OleDbConnection name in the Data Store.
connection OleDbConnection Required. OleDbConnection for registration.

Method Description : Registers SqlConnection in the Data Store.

  • AddDataContent(name, connection);
Parameter Type Description
name string Required. OdbcConnection name in the Data Store.
connection OdbcConnection Required. OdbcConnection for registration.

Method Description : Registers OdbcConnection in the Data Store.

  • AddDataContent(name, alias, data);
Parameter Type Description
name string Required. A data name in the Data Store.
alias string Required. A data alias in the Data Store.
data object Required. The object for registration.

Method Description : Registers an object in the Data Store.

  • AddDataContent(name, alias, dataTable);
Parameter Type Description
name string Required. A data name in the Data Store.
alias string Required. A data alias in the Data Store.
dataTable DataTable Required. DataTable for registration.

Method Description : Registers an object in the Data Store.

  • AddDataContent(name, alias, dataSet);
Parameter Type Description
name string Required. A data name in the Data Store.
alias string Required. A data alias in the Data Store.
dataSet DataSet Required. DataSet for registration.

Method Description : Registers all DataTables and DataRelations which are in the specified DataSet in the Data Store.

  • AddDataContent(name, alias, dataView);
Parameter Type Description
name string Required. A data name in the Data Store.
alias string Required. A data alias in the Data Store.
dataView DataView Required. DataView for registration.

Method Description : Registers DataView in the Data Store.

  • AddDataContent(name, alias, connection);
Parameter Type Description
name string Required. A data name in the Data Store.
alias string Required. A data alias in the Data Store.
connection SqlConnection Required. SqlConnection for registration.

Method Description : Registers SqlConnection in the Data Store.

  • AddDataContent(name, alias, connection);
Parameter Type Description
name string Required. A data name in the Data Store.
alias string Required. A data alias in the Data Store.
connection OleDbConnection Required. OleDbConnection for registration.

Method Description : Registers OleDbConnection in the Data Store.

  • AddDataContent(name, alias, connection);
Parameter Type Description
name string Required. A data name in the Data Store.
alias string Required. A data alias in the Data Store.
connection OdbcConnection Required. OdbcConnection for registration.

Method Description : Registers OdbcConnection in the Data Store.

  • AddDataContent(name, alias, connection);
Parameter Type Description
datas StiDataCollection Required. DataCollection for registration.

Method Description : Registers OdbcConnection in the Data Store.

  • Render(showProgressState)
Parameter Type Description
showProgressState bool Required. Start Rendering The Report With Data And Fonts That You Setted In Stimulsoft Design By Sti Report Engine

Method Description : This Method Used For Start Rendering The Report With Data And Fonts That You Setted In Stimulsoft Design By Sti Report Engine.

  • ExportPdfToPath(absolutePath)
Parameter Type Description
absolutePath string Required. The Path That You Want Pdf Be Exported To

Method Description : This Method Used For Exporting Renderred Pdf To Absolute Path That You Choose.

  • ExportPdfAsMemoryStream(settings)
Parameter Type Description
settings StiExportSettings Required. The Setting That You Want To Add Into Pdf Export Process By Sti Report Engine

Method Description : This Method Used For Exporting Pdf As Memoty Stream.

  • ** ExportPdfAsCustomStream(customStream, settings);**
Parameter Type Description
customStream Stream Required. Pdf Will Be Exporting To Your Stream Instance .
settings StiExportSettings Required. The Setting That You Want To Add Into Pdf Export Process By Sti Report Engine

Method Description : This Method Used For Exporting Pdf As Memoty Stream.

Acknowledgements

License

GPL - v.3

Used By

This project is used by the following companies:

  • TaavSys Corporation - Shiraz

Authors

Logo

linkedin linkedin

Tech Stack

Client: WebBrowser

Server: DotNet 5, Dotnet 6, Dotnet 7

Run Locally

Add Package To Your Project With Command

  • .NET CLI
  dotnet add package StimulsoftReports.Engine.NetCore.PersianPdfExportere --version 2024.2.4
  • Package Manager
  NuGet\Install-Package StimulsoftReports.Engine.NetCore.PersianPdfExportere -Version 2024.2.4
  • Package Reference
  <PackageReference Include="StimulsoftReports.Engine.NetCore.PersianPdfExportere" Version="2024.2.4" />
  • Packet CLI
  paket add StimulsoftReports.Engine.NetCore.PersianPdfExportere --version 2024.2.4
  • Script & InterActive
  #r "nuget: StimulsoftReports.Engine.NetCore.PersianPdfExportere, 2024.2.4"
  • Cake
  // Install StimulsoftReports.Engine.NetCore.PersianPdfExportere as a Cake Addin
     #addin nuget:?package=StimulsoftReports.Engine.NetCore.PersianPdfExporter&version=2024.2.4
  // Install StimulsoftReports.Engine.NetCore.PersianPdfExportere as a Cake Tool
     #tool nuget:?package=StimulsoftReports.Engine.NetCore.PersianPdfExporter&version=2024.2.4

Supported Default Fonts

FontName Type
+ Badr .ttf
A Duel-Fat .ttf
A Duel .ttf
A Aref_ graffiti .ttf
A Banoo Light .ttf
A Banoo Thin .ttf
A Hayat .ttf
A Jannat LT .ttf
A Kavir .otf
A Kavir .ttf
A MehdiHeydari .ttf
A Nahar-Bold .ttf
A Nahar-Medium .ttf
A Nahar .ttf
A Nasr .ttf
A RaiMedia-Black .ttf
A RaiMedia-Bold .ttf
A Sadeh .otf
A Sadeh .ttf
A Saray .ttf
A Sogand .ttf
Adobe Arabic .otf
Afshid .otf
ArianLT-Bold .ttf
ArianLT-Demi .ttf
ArianLT-Heavy .ttf
ArianLT-Light .ttf
ArianLT-Regular .ttf
Bahij Palatino Arabic .ttf
Bahij Palatino Sans Arabic .ttf
BBCNassim .ttf
Bieta .otf
Clother Black .ttf
Clother Light .ttf
Clother .ttf
dara- latin-banaei-conect .ttf
dara- latin-banaei .ttf
dara- latin .ttf
Decora Arabic .ttf
Dima Sogand new .ttf
DIN NEXTâ„¢ ARABIC BLACK .otf
DIN NEXTâ„¢ ARABIC BOLD .otf
DIN NEXTâ„¢ ARABIC HEAVY .otf
DIN NEXTâ„¢ ARABIC LIGHT .otf
DIN NEXTâ„¢ ARABIC MEDIUM .otf
DIN NEXTâ„¢ ARABIC REGULAR .otf
DIN NEXTâ„¢ ARABIC ULTRALIGHT .otf
DINArabic-Black .ttf
DINArabic-Bold .ttf
DINArabic-Cond .ttf
DINArabic-CondBlack .ttf
DINArabic-CondBold .ttf
DINArabic-CondExtlight .ttf
DINArabic-CondLight .ttf
DINArabic-CondMedium .ttf
DINArabic-CondThin .ttf
DINArabic-Extlight .ttf
DINArabic-Light .ttf
DINArabic-Medium .ttf
DINArabic .ttf
DiodrumArabic-Bold .ttf
DiodrumArabic-Extralight .ttf
DiodrumArabic-Light .ttf
DiodrumArabic-Medium .ttf
DiodrumArabic-Regular .ttf
DiodrumArabic-Semibold .ttf
Dordaneh .ttf
FreeFarsi Monospace .ttf
FreeFarsi .ttf
Gilan Bold .otf
Gilan Light .otf
Gilan Medium .otf
Hakim Ghazali .ttf
KindahBold-Bold .ttf
KindahRegular-Regular .ttf
KindahThin-Thin .ttf
Nazli .ttf
NusaibahBold-Bold .otf
NusaibahRegular-Regular .otf
Palatino LT Arabic .ttf
Palatino Sans Arabic Bold .ttf
Palatino Sans .ttf
Palatino .ttf
Parastoo Print FD .ttf
Parastoo Print .ttf
Parvin .ttf
Samim FD .ttf
Samim .ttf
SG Kara SemiBold .ttf
SG Kara .ttf
Shabnam FD .ttf
Shabnam .ttf
Tanha FD .ttf
Tanha .ttf
Terafik .ttf
Thabit-Bold-Oblique .ttf
Thabit-Bold .ttf
Thabit-Oblique .ttf
Thabit .ttf
Vazir FD .ttf
Vazir .ttf
X Andalus .ttf
X Arabic .ttf
X Arash .ttf
X Aria .ttf
X Arshia .ttf
X Babak .ttf
X Badr .ttf
X Bam .ttf
X Bijan .ttf
X Davat .ttf
X Dorosht .ttf
X Elham .ttf
X Fantasy .ttf
X Farnaz .ttf
X Farsi .ttf
X Ferdosi .ttf
X Forouzan .ttf
X Gity .ttf
X Homa .ttf
X Jalal .ttf
X Johar .ttf
X Kamran .ttf
X Kaveh .ttf
X Kerman .ttf
X Khorsheed .ttf
X Koodak .ttf
X Kufi .ttf
X Mahsa .ttf
X Majid .ttf
X Mashgh .ttf
X Mitra .ttf
X Moj .ttf
X Morvarid .ttf
X Nahid .ttf
X Narm .ttf
X Naskh .ttf
X Nazanin .ttf
X Nima .ttf
X Nimrooz .ttf
X Paatch .ttf
X Persian .ttf
X Roya .ttf
X Sahra .ttf
X Shafigh .ttf
X Shiraz .ttf
X Simin .ttf
X Sina .ttf
X Sousan .ttf
X Tabassom .ttf
X Tawfig .ttf
X Termeh .ttf
X Thulth .ttf
X Tir .ttf
X Titre .ttf
X Traffic .ttf
X Vahid .ttf
X Vosta .ttf
X Yagut .ttf
X Yas .ttf
X Yekan .ttf
X Zar .ttf
X Ziba .ttf
XB Kayhan Navaar .ttf
XB Kayhan Pook .ttf
XB Kayhan Sayeh .ttf
XB Kayhan .ttf
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.2.4 56 4/24/2024
2024.2.0 670 2/1/2024
2024.1.4 571 1/31/2024

You Can Export Persian Pdf Easily And Perfectly With This Tools. Get Started With Readme File