Skip to content

Commit ce30b6d

Browse files
authored
Merge branch 'development' into 998310-MemoryMetrics
2 parents e5e21ab + 1411200 commit ce30b6d

File tree

386 files changed

+6916
-4491
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

386 files changed

+6916
-4491
lines changed

Document-Processing-toc.html

Lines changed: 217 additions & 39 deletions
Large diffs are not rendered by default.

Document-Processing/Excel/Conversions/Chart-to-Image/NET/Chart-to-Image-Conversion.md

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,36 @@ The following code snippet shows how to convert an Excel chart to an image using
1919
{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/XlsIO-Examples/master/Chart%20to%20Image/Chart%20to%20Image/.NET/Chart%20to%20Image/Chart%20to%20Image/Program.cs,180" %}
2020
using (ExcelEngine excelEngine = new ExcelEngine())
2121
{
22-
IApplication application = excelEngine.Excel;
23-
application.DefaultVersion = ExcelVersion.Xlsx;
22+
//Initialize application
23+
IApplication application = excelEngine.Excel;
24+
25+
//Set the default version as Xlsx
26+
application.DefaultVersion = ExcelVersion.Xlsx;
2427

25-
// Initialize XlsIORenderer
26-
application.XlsIORenderer = new XlsIORenderer();
28+
//Initialize XlsIORenderer
29+
application.XlsIORenderer = new XlsIORenderer();
2730

28-
//Set converter chart image format to PNG
29-
application.XlsIORenderer.ChartRenderingOptions.ImageFormat = ExportImageFormat.Png;
31+
//Set converter chart image format to PNG or JPEG
32+
application.XlsIORenderer.ChartRenderingOptions.ImageFormat = ExportImageFormat.Png;
3033

31-
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
32-
IWorkbook workbook = application.Workbooks.Open(inputStream);
33-
IWorksheet worksheet = workbook.Worksheets[0];
34+
//Set the chart image quality to best
35+
application.XlsIORenderer.ChartRenderingOptions.ScalingMode = ScalingMode.Best;
3436

35-
IChart chart = worksheet.Charts[0];
37+
//Open existing workbook with chart
38+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx"));
39+
IWorksheet worksheet = workbook.Worksheets[0];
40+
41+
//Access the chart from the worksheet
42+
IChart chart = worksheet.Charts[0];
3643

37-
#region Save
38-
//Saving the workbook
39-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Image.png"), FileMode.Create, FileAccess.Write);
40-
chart.SaveAsImage(outputStream);
41-
#endregion
44+
#region Save
45+
//Exporting the chart as image
46+
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Image.png"), FileMode.Create, FileAccess.Write);
47+
chart.SaveAsImage(outputStream);
48+
#endregion
4249

43-
//Dispose streams
44-
outputStream.Dispose();
45-
inputStream.Dispose();
50+
//Dispose streams
51+
outputStream.Dispose();
4652
}
4753
{% endhighlight %}
4854

Document-Processing/Excel/Conversions/Excel-to-Image/NET/convert-excel-to-image-in-Linux.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Step 3: Select the framework and click **Create** button.
2929
Step 4: Install the following Nuget packages in your application from [NuGet.org](https://www.nuget.org/) by execute the following command.
3030

3131
* [Syncfusion.XlsIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIORenderer.Net.Core)
32-
* [SkiaSharp.NativeAssets.Linux](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.116.1)
32+
* [SkiaSharp.NativeAssets.Linux](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.1)
3333
* [HarfBuzzSharp.NativeAssets.Linux](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/8.3.1.1)
3434

3535
{% tabs %}
3636
{% highlight KCONFIG %}
3737
dotnet add package Syncfusion.XlsIORenderer.Net.Core -v 30.1.37 -s https://www.nuget.org/
38-
dotnet add package SkiaSharp.NativeAssets.Linux -v 3.116.1 -s https://www.nuget.org/
38+
dotnet add package SkiaSharp.NativeAssets.Linux -v 3.119.1 -s https://www.nuget.org/
3939
dotnet add package HarfBuzzSharp.NativeAssets.Linux -v 8.3.1.1 -s https://www.nuget.org/
4040
{% endhighlight %}
4141
{% endtabs %}
@@ -102,13 +102,13 @@ cd ConvertExcelToImage
102102
Step 3: Install the following Nuget packages in your application from [NuGet.org](https://www.nuget.org/) by execute the following command.
103103

104104
* [Syncfusion.XlsIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIORenderer.Net.Core)
105-
* [SkiaSharp.NativeAssets.Linux](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.116.1)
105+
* [SkiaSharp.NativeAssets.Linux](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.1)
106106
* [HarfBuzzSharp.NativeAssets.Linux](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/8.3.1.1)
107107

108108
{% tabs %}
109109
{% highlight KCONFIG %}
110110
dotnet add package Syncfusion.XlsIORenderer.Net.Core -v 30.1.37 -s https://www.nuget.org/
111-
dotnet add package SkiaSharp.NativeAssets.Linux -v 3.116.1 -s https://www.nuget.org/
111+
dotnet add package SkiaSharp.NativeAssets.Linux -v 3.119.1 -s https://www.nuget.org/
112112
dotnet add package HarfBuzzSharp.NativeAssets.Linux -v 8.3.1.1 -s https://www.nuget.org/
113113
{% endhighlight %}
114114
{% endtabs %}

Document-Processing/Excel/Conversions/Excel-to-Image/NET/convert-excel-to-image-in-aws-lambda.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Step 3: Select Blueprint as Empty Function and click **Finish**.
2727
Step 4: Install the following **NuGet packages** in your application from [Nuget.org](https://www.nuget.org/).
2828

2929
* [Syncfusion.XlsIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIORenderer.Net.Core)
30-
* [SkiaSharp.NativeAssets.Linux v3.116.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.116.1)
30+
* [SkiaSharp.NativeAssets.Linux v3.119.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.1)
3131
* [HarfBuzzSharp.NativeAssets.Linux v2.8.2.2](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/2.8.2.2)
3232

3333
![Install Syncfusion.XlsIORenderer.Net.Core NuGet package](AWS_Images/Lambda_Images/Install_NuGet_Image.png)

Document-Processing/Excel/Conversions/Excel-to-Image/NET/convert-excel-to-image-in-aws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ NuGet package name<br/></th></tr></thead>
3030
<td>
3131
AWS Lambda <br/></td><td>
3232
{{'[Syncfusion.XlsIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIORenderer.Net.Core)' | markdownify}}<br/>
33-
{{'[SkiaSharp.NativeAssets.Linux v3.116.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.116.1)' | markdownify}} <br/>
33+
{{'[SkiaSharp.NativeAssets.Linux v3.119.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.1)' | markdownify}} <br/>
3434
{{'[HarfBuzzSharp.NativeAssets.Linux v2.8.2.2](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/2.8.2.2)' | markdownify}}<br/>
3535
</td></tr>
3636
</table>

Document-Processing/Excel/Conversions/Excel-to-Image/NET/convert-excel-to-image-in-azure-app-service-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Step 3: Select the framework and click **Create** button.
2727
Step 4: Install the following NuGet packages as reference to your project from [NuGet.org](https://www.nuget.org/).
2828

2929
* [Syncfusion.XlsIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIORenderer.Net.Core)
30-
* [SkiaSharp.NativeAssets.Linux](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.116.1)
30+
* [SkiaSharp.NativeAssets.Linux](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.1)
3131
* [HarfBuzzSharp.NativeAssets.Linux](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/2.8.2.3)
3232

3333
![Install Syncfusion.XlsIORenderer.Net.Core NuGet Package](Azure-Images/App-Service-Linux/Install_NuGet_Image.png)

Document-Processing/Excel/Conversions/Excel-to-Image/NET/convert-excel-to-image-in-azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ App Service (Windows)
3232
App Service (Linux)
3333
<br/></td><td>
3434
{{'[Syncfusion.XlsIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIORenderer.Net.Core)' | markdownify}}<br/>
35-
{{'[SkiaSharp.NativeAssets.Linux v3.116.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.116.1)' | markdownify}}<br/>{{'[HarfBuzzSharp.NativeAssets.Linux v2.8.2.2](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/2.8.2.2)' |markdownify}} <br/></td></tr>
35+
{{'[SkiaSharp.NativeAssets.Linux v3.119.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.1)' | markdownify}}<br/>{{'[HarfBuzzSharp.NativeAssets.Linux v2.8.2.2](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/2.8.2.2)' |markdownify}} <br/></td></tr>
3636
<tr>
3737
<td>
3838
Azure Functions v1

Document-Processing/Excel/Conversions/Excel-to-Image/NET/convert-excel-to-image-in-gcp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ NuGet package name<br/></th></tr></thead>
3131
App Engine
3232
<br/></td><td>
3333
{{'[Syncfusion.XlsIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIORenderer.Net.Core)' | markdownify}}<br/>
34-
{{'[SkiaSharp.NativeAssets.Linux v3.116.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.116.1)' | markdownify}}<br/>{{'[HarfBuzzSharp.NativeAssets.Linux v7.3.0](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/7.3.0)' |markdownify}} <br/></td></tr>
34+
{{'[SkiaSharp.NativeAssets.Linux v3.119.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.1)' | markdownify}}<br/>{{'[HarfBuzzSharp.NativeAssets.Linux v7.3.0](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/7.3.0)' |markdownify}} <br/></td></tr>
3535
</table>

Document-Processing/Excel/Conversions/Excel-to-Image/NET/convert-excel-to-image-in-google-app-engine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Step 3: Click the **Create** button.
5353
Step 4: Install the following **Nuget packages** in your application from [Nuget.org](https://www.nuget.org/).
5454

5555
* [Syncfusion.XLsIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIORenderer.Net.Core)
56-
* [SkiaSharp.NativeAssets.Linux v3.116.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.116.1)
56+
* [SkiaSharp.NativeAssets.Linux v3.119.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.1)
5757
* [HarfBuzzSharp.NativeAssets.Linux v7.3.0](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/7.3.0)
5858

5959
![Install Syncfusion.XlsIORenderer.Net.Core Nuget Package](GCP_Images/Install_Nuget_Syncfusion.png)

Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Conversion.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ In Linux OS, the Excel to PDF conversion can be performed using .NET Core (Targe
851851

852852
In addition to the previous NuGet packages, SkiaSharp.Linux helper NuGet package is required, that can be generated by the following steps:
853853

854-
1. Download libSkiaSharp.so [here](https://github.com/mono/SkiaSharp/releases/tag/v3.116.1#).
854+
1. Download libSkiaSharp.so [here](https://github.com/mono/SkiaSharp/releases/tag/v3.119.1#).
855855
2. Create a folder and name it as SkiaSharp.Linux and place the downloaded file in the folder structure "SkiaSharp.Linux\runtimes\linux-x64\native"
856856
3. Create a nuspec file with name SkiaSharp.Linux.nuspec using the following metadata information and place it inside SkiaSharp.Linux folder. The nuspec file can be customized.
857857

@@ -861,7 +861,7 @@ In addition to the previous NuGet packages, SkiaSharp.Linux helper NuGet package
861861
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
862862
<metadata>
863863
<id>SkiaSharp.Linux</id>
864-
<version>3.116.1</version>
864+
<version>3.119.1</version>
865865
<title>SkiaSharp for Linux</title>
866866
<authors>Syncfusion Inc.</authors>
867867
<owners>Syncfusion Inc.</owners>
@@ -870,7 +870,7 @@ In addition to the previous NuGet packages, SkiaSharp.Linux helper NuGet package
870870
<tags>linux,cross-platform,skiasharp,net-standard,net-core,excel-to-pdf</tags>
871871
<dependencies>
872872
<group targetFramework=".NETStandard1.4">
873-
<dependency id="SkiaSharp" version="3.116.1" />
873+
<dependency id="SkiaSharp" version="3.119.1" />
874874
</group>
875875
</dependencies>
876876
</metadata>

0 commit comments

Comments
 (0)