Skip to content

Commit 238f594

Browse files
Merge branch 'hotfix/hotfix-v31.2.12' into SEO-211225-Document-Processing-word-conversions-word-to-pdf-net-
2 parents ff7dc38 + 978be03 commit 238f594

9 files changed

+756
-135
lines changed

Document-Processing-toc.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5001,6 +5001,7 @@
50015001
<ul>
50025002
<li><a href="/document-processing/excel/spreadsheet/blazor/getting-started-webapp">Blazor Web App</a></li>
50035003
<li><a href="/document-processing/excel/spreadsheet/blazor/getting-started">Blazor WASM App</a></li>
5004+
<li><a href="/document-processing/excel/spreadsheet/blazor/blazor-hybrid-maui-app">Blazor Hybrid MAUI App</a></li>
50045005
</ul>
50055006
</li>
50065007
<li><a href="/document-processing/excel/spreadsheet/blazor/open-and-save">Open and Save</a></li>
@@ -5994,6 +5995,9 @@
59945995
<a href="/document-processing/excel/conversions/excel-to-pdf/net/Excel-to-PDF-Converter-Settings">Excel to PDF Converter Settings</a>
59955996
</li>
59965997
<li>
5998+
                 <a href="/document-processing/excel/conversions/excel-to-pdf/net/Performance-Metrics">Performance Metrics</a>
5999+
               </li>
6000+
<li>
59976001
<a href="/document-processing/excel/conversions/excel-to-pdf/net/faq">FAQ</a>
59986002
<ul>
59996003
<li>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Performance Metrics for the Syncfusion Excel to PDF conversion
3+
description: This section provides benchmark results and performance metrics for converting Excel files to PDF using the Syncfusion Excel (XlsIO) library.
4+
platform: document-processing
5+
control: XlsIO
6+
documentation: UG
7+
---
8+
9+
# Performance Metrics for Excel to PDF Conversion
10+
11+
The following benchmark demonstrates the performance of the Syncfusion Excel (XlsIO) library when converting a large Excel workbook—containing 100,000 rows and 50 columns with distinct data types such as text, date and time, numbers, booleans, and formulas—into a PDF.
12+
13+
<table>
14+
<tr>
15+
<th>Data type</th>
16+
<th>Time Taken (sec)</th>
17+
<th>Sample Link</th>
18+
</tr>
19+
<tr>
20+
<td>Text</td>
21+
<td>121</td>
22+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
23+
</tr>
24+
<tr>
25+
<td>DateTime</td>
26+
<td>112</td>
27+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
28+
</tr>
29+
<tr>
30+
<td>Number</td>
31+
<td>107</td>
32+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
33+
</tr>
34+
<tr>
35+
<td>Boolean</td>
36+
<td>83</td>
37+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
38+
</tr>
39+
<tr>
40+
<td>Formula</td>
41+
<td>104</td>
42+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
43+
</tr>
44+
</table>
45+
46+
You can find the sample used for Excel to PDF conversion performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF">this GitHub page</a>.
Lines changed: 33 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -1,187 +1,86 @@
11
---
2-
title: Performance Metrics of the Syncfusion Excel (XlsIO) Library
3-
description: This section provides an overview of the performance capabilities of the Syncfusion Excel (XlsIO) Library.
2+
title: Performance Metrics for Syncfusion Excel (XlsIO) Library
3+
description: This section provides benchmark results and insights into the performance capabilities of the Syncfusion Excel (XlsIO) library across various operations.
44
platform: document-processing
55
control: XlsIO
66
documentation: UG
77
---
88

99
# Performance Metrics in Excel (XlsIO) Library
1010

11-
This section evaluates the performance of the Syncfusion XlsIO library when handling String, DateTime, Number, Boolean, and Formula data types during operations such as opening, reading, creating, and saving Excel files. It provides insights into the efficiency and capabilities of XlsIO for processing these data types across various platforms.
12-
13-
## Open and Read
14-
15-
The table below illustrates the performance of data types for open operations.
16-
17-
<table>
18-
<tr>
19-
<th>Data types</th>
20-
<th>Test case Matrix (Open)</th>
21-
<th>XlsIO (ms)</th>
22-
<th>Sample</th>
23-
</tr>
24-
<tr>
25-
<td>String</td>
26-
<td>150 rows * 10000 columns</td>
27-
<td>2213</td>
28-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
29-
</tr>
30-
<tr>
31-
<td>DateTime</td>
32-
<td>150 rows * 10000 columns</td>
33-
<td>1369</td>
34-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
35-
</tr>
36-
<tr>
37-
<td>Number</td>
38-
<td>150 rows * 10000 columns</td>
39-
<td>1151</td>
40-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
41-
</tr>
42-
<tr>
43-
<td>Boolean</td>
44-
<td>150 rows * 10000 columns</td>
45-
<td>1173</td>
46-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
47-
</tr>
48-
<tr>
49-
<td>Formula</td>
50-
<td>150 rows * 10000 columns</td>
51-
<td>1545</td>
52-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
53-
</tr>
54-
</table>
55-
56-
You can find the sample used for open operation performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open">this GitHub page</a>.
57-
58-
The table below illustrates the performance of data types for read operations.
59-
60-
<table>
61-
<tr>
62-
<th>Data types</th>
63-
<th>Test case Matrix (Read)</th>
64-
<th>XlsIO (ms)</th>
65-
<th>Sample</th>
66-
</tr>
67-
<tr>
68-
<td>String</td>
69-
<td>150 rows * 10000 columns</td>
70-
<td>139</td>
71-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
72-
</tr>
73-
<tr>
74-
<td>DateTime</td>
75-
<td>150 rows * 10000 columns</td>
76-
<td>506</td>
77-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
78-
</tr>
79-
<tr>
80-
<td>Number</td>
81-
<td>150 rows * 10000 columns</td>
82-
<td>294</td>
83-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
84-
</tr>
85-
<tr>
86-
<td>Boolean</td>
87-
<td>150 rows * 10000 columns</td>
88-
<td>99</td>
89-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
90-
</tr>
91-
<tr>
92-
<td>Formula</td>
93-
<td>150 rows * 10000 columns</td>
94-
<td>165</td>
95-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
96-
</tr>
97-
</table>
98-
99-
You can find the sample used for read operation performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read">this GitHub page</a>.
11+
This section evaluates the performance of the Syncfusion Excel (XlsIO) library when handling text, date and time, number, boolean, and formula data types during operations such as reading and creating Excel documents.
10012

10113
## Create and Save
10214

103-
The table below illustrates the performance of data types for create operations.
15+
The table below illustrates the performance of creating and saving an Excel document containing 100,000 rows and 50 columns for different data types.
10416

105-
<table>
17+
<table>
10618
<tr>
107-
<th>Data types</th>
108-
<th>Test case Matrix (Create)</th>
109-
<th>XlsIO (ms)</th>
110-
<th>Sample</th>
19+
<th>Data type</th>
20+
<th>Time Taken (sec)</th>
21+
<th>Sample Link</th>
11122
</tr>
11223
<tr>
113-
<td>String</td>
114-
<td>150 rows * 10000 columns</td>
115-
<td>1177</td>
24+
<td>Text</td>
25+
<td>13</td>
11626
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
11727
</tr>
11828
<tr>
11929
<td>DateTime</td>
120-
<td>150 rows * 10000 columns</td>
121-
<td>2301</td>
30+
<td>15</td>
12231
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
12332
</tr>
12433
<tr>
12534
<td>Number</td>
126-
<td>150 rows * 10000 columns</td>
127-
<td>436</td>
35+
<td>5</td>
12836
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
12937
</tr>
13038
<tr>
13139
<td>Boolean</td>
132-
<td>150 rows * 10000 columns</td>
133-
<td>422</td>
40+
<td>5</td>
13441
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
13542
</tr>
13643
<tr>
13744
<td>Formula</td>
138-
<td>150 rows * 10000 columns</td>
139-
<td>4089</td>
45+
<td>35</td>
14046
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
14147
</tr>
14248
</table>
143-
144-
You can find the sample used for create operation performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create">this GitHub page</a>.
14549

146-
The table below illustrates the performance of data types for save operations.
50+
## Load and Read
51+
52+
The table below illustrates the performance of loading and reading cell values from an Excel document with 100,000 rows and 50 columns for different data types.
14753

14854
<table>
14955
<tr>
150-
<th>Data types</th>
151-
<th>Test case Matrix (Save)</th>
152-
<th>XlsIO (ms)</th>
153-
<th>Sample</th>
56+
<th>Data type</th>
57+
<th>Time Taken (sec)</th>
58+
<th>Sample Link</th>
15459
</tr>
15560
<tr>
156-
<td>String</td>
157-
<td>150 rows * 10000 columns</td>
158-
<td>1422</td>
159-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
61+
<td>Text</td>
62+
<td>9</td>
63+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
16064
</tr>
16165
<tr>
16266
<td>DateTime</td>
163-
<td>150 rows * 10000 columns</td>
164-
<td>1270</td>
165-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
67+
<td>5</td>
68+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
16669
</tr>
16770
<tr>
16871
<td>Number</td>
169-
<td>150 rows * 10000 columns</td>
170-
<td>916</td>
171-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
72+
<td>6</td>
73+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
17274
</tr>
17375
<tr>
17476
<td>Boolean</td>
175-
<td>150 rows * 10000 columns</td>
176-
<td>781</td>
177-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
77+
<td>4</td>
78+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
17879
</tr>
17980
<tr>
18081
<td>Formula</td>
181-
<td>150 rows * 10000 columns</td>
182-
<td>1222</td>
183-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
82+
<td>9</td>
83+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
18484
</tr>
185-
</table>
186-
187-
You can find the sample used for save operation performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save">this GitHub page</a>.
85+
</table>
86+

Document-Processing/Excel/Excel-Library/NET/Working-with-Cell-or-Range-Formatting.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,52 @@ workbook.DetectDateTimeInValue = False
919919
{% endhighlight %}
920920
{% endtabs %}
921921

922+
N> To display the **$** symbol, apply a currency or accounting number format. Using a number format without any currency symbol does not show any currency symbol in the value.
923+
924+
{% tabs %}
925+
{% highlight c# tabtitle="C# [Cross-platform]" %}
926+
//Plain number format
927+
sheet.Range["A1"].Number = 100;
928+
sheet.Range["A1"].NumberFormat = "0.00"; //shows 100.00
929+
930+
//Currency format
931+
sheet.Range["A2"].Number = 1234.56;
932+
sheet.Range["A2"].NumberFormat = "$#,##0.00"; //shows $1,234.56
933+
934+
//Accounting format
935+
sheet.Range["A3"].Number = 234;
936+
sheet.Range["A3"].NumberFormat = "_($* #,##0.00_)"; //shows $ 234.00
937+
{% endhighlight %}
938+
939+
{% highlight c# tabtitle="C# [Windows-specific]" %}
940+
//Plain number format
941+
sheet.Range["A1"].Number = 100;
942+
sheet.Range["A1"].NumberFormat = "0.00"; //shows 100.00
943+
944+
//Currency format
945+
sheet.Range["A2"].Number = 1234.56;
946+
sheet.Range["A2"].NumberFormat = "$#,##0.00"; //shows $1,234.56
947+
948+
//Accounting format
949+
sheet.Range["A3"].Number = 234;
950+
sheet.Range["A3"].NumberFormat = "_($* #,##0.00_)"; //shows $ 234.00
951+
{% endhighlight %}
952+
953+
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
954+
'Plain Number format
955+
sheet.Range("A1").Number = 100
956+
sheet.Range("A1").NumberFormat = "0.00" 'shows 100.00
957+
958+
'Currency format
959+
sheet.Range("A2").Number = 1234.56
960+
sheet.Range("A2").NumberFormat = "$#,##0.00" 'shows $1,234.56
961+
962+
'Accounting format
963+
sheet.Range("A3").Number = 234
964+
sheet.Range("A3").NumberFormat = "_($* #,##0.00_)" 'shows $ 234.00
965+
{% endhighlight %}
966+
{% endtabs %}
967+
922968
## Number Format Detection Behavior Based on System Culture
923969

924970
In Microsoft Excel, when a value is inserted, the system's culture settings determine whether the value is interpreted as a [Text](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Text) or [Number](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Number). If it is a valid number according to the current culture, Excel automatically detects and applies a corresponding number format.
@@ -2126,4 +2172,4 @@ A complete working example to apply rich text formatting in C# is present on [th
21262172

21272173
The output of the previous code is shown as follows:
21282174

2129-
![Excel document with rich-text formatting](Working-with-Cell-or-Range-Formatting_images/Working-with-Cell-or-Range-Formatting_img6.jpeg)
2175+
![Excel document with rich-text formatting](Working-with-Cell-or-Range-Formatting_images/Working-with-Cell-or-Range-Formatting_img6.jpeg)

0 commit comments

Comments
 (0)