Skip to content

Commit 32d4f45

Browse files
Merge branch 'development' into EJ2-996216-notes
2 parents ab13748 + c0875fe commit 32d4f45

68 files changed

Lines changed: 2606 additions & 29 deletions

File tree

Some content is hidden

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

Document-Processing-toc.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,11 @@
666666
<li><a href="/document-processing/pdf/pdf-viewer/blazor/deployment/aws-beanstalk-deployment">AWS Elastic Beanstalk</a></li>
667667
</ul>
668668
</li>
669-
<li> <a href="/document-processing/pdf/pdf-viewer/blazor/accessibility">Accessibility</a></li>
669+
<li> <a href="/document-processing/pdf/pdf-viewer/blazor/accessibility">Accessibility</a>
670+
<ul>
671+
<li><a href="/document-processing/pdf/pdf-viewer/blazor/accessible-pdf-reading">PDF Reading</a></li>
672+
</ul>
673+
</li>
670674
<li> <a href="/document-processing/pdf/pdf-viewer/blazor/opening-pdf-file">Open PDF files</a>
671675
<ul>
672676
<li><a href="/document-processing/pdf/pdf-viewer/blazor/open-pdf-file/from-amazon-s3">From AWS S3</a></li>
@@ -1590,6 +1594,7 @@
15901594
<li><a href="/document-processing/pdf/pdf-viewer/maui/Magnification">Magnification</a></li>
15911595
<li><a href="/document-processing/pdf/pdf-viewer/maui/Text-Search">Text Search</a></li>
15921596
<li><a href="/document-processing/pdf/pdf-viewer/maui/Text-Selection">Text Selection</a></li>
1597+
<li><a href="/document-processing/pdf/pdf-viewer/maui/Redaction">Redaction</a></li>
15931598
<li><a href="/document-processing/pdf/pdf-viewer/maui/Form-Filling">Form Filling</a></li>
15941599
<li>
15951600
<a href="/document-processing/pdf/pdf-viewer/maui/Annotations-Overview">Annotations</a>
@@ -1601,6 +1606,7 @@
16011606
<li><a href="/document-processing/pdf/pdf-viewer/maui/Import-Export-Annotations">Import and Export</a></li>
16021607
<li><a href="/document-processing/pdf/pdf-viewer/maui/Undo-Redo">Undo and Redo</a></li>
16031608
<li><a href="/document-processing/pdf/pdf-viewer/maui/Show-Hide">Show and Hide</a></li>
1609+
<li><a href="/document-processing/pdf/pdf-viewer/maui/Annotations-Comment">Annotation Comments</a></li>
16041610
<li>
16051611
Types
16061612
<ul>
@@ -1623,6 +1629,7 @@
16231629
<li><a href="/document-processing/pdf/pdf-viewer/maui/Right-To-Left">Right to Left</a></li>
16241630
<li><a href="/document-processing/pdf/pdf-viewer/maui/Keyboard-Shortcuts">Keyboard Shortcuts</a></li>
16251631
<li><a href="/document-processing/pdf/pdf-viewer/maui/Gesture-Events">Gesture Events</a></li>
1632+
<li><a href="/document-processing/pdf/pdf-viewer/maui/liquid-glass-effect">Liquid Glass UI</a></li>
16261633
</ul>
16271634
</li>
16281635
<li>
@@ -4856,6 +4863,7 @@
48564863
<li><a href="/document-processing/excel/spreadsheet/angular/filter">Filtering</a></li>
48574864
<li><a href="/document-processing/excel/spreadsheet/angular/sort">Sorting</a></li>
48584865
<li><a href="/document-processing/excel/spreadsheet/angular/link">Hyperlink</a></li>
4866+
<li><a href="/document-processing/excel/spreadsheet/angular/comment">Comment</a></li>
48594867
<li><a href="/document-processing/excel/spreadsheet/angular/notes">Notes</a></li>
48604868
<li><a href="/document-processing/excel/spreadsheet/angular/clipboard">Clipboard</a></li>
48614869
<li><a href="/document-processing/excel/spreadsheet/angular/selection">Selection</a></li>
@@ -5046,6 +5054,7 @@
50465054
<li><a href="/document-processing/excel/spreadsheet/javascript-es6/filter">Filtering</a></li>
50475055
<li><a href="/document-processing/excel/spreadsheet/javascript-es6/sort">Sorting</a></li>
50485056
<li><a href="/document-processing/excel/spreadsheet/javascript-es6/link">Hyperlink</a></li>
5057+
<li><a href="/document-processing/excel/spreadsheet/javascript-es6/comment">Comment</a></li>
50495058
<li><a href="/document-processing/excel/spreadsheet/javascript-es6/notes">Notes</a></li>
50505059
<li><a href="/document-processing/excel/spreadsheet/javascript-es6/clipboard">Clipboard</a></li>
50515060
<li><a href="/document-processing/excel/spreadsheet/javascript-es6/selection">Selection</a></li>
@@ -5161,6 +5170,7 @@
51615170
<li><a href="/document-processing/excel/spreadsheet/blazor/open-and-save">Open and Save</a></li>
51625171
<li><a href="/document-processing/excel/spreadsheet/blazor/worksheet">Worksheet</a></li>
51635172
<li><a href="/document-processing/excel/spreadsheet/blazor/cell-range">Cell Range</a></li>
5173+
<li><a href="/document-processing/excel/spreadsheet/blazor/merge-cell">Merge Cells</a></li>
51645174
<li><a href="/document-processing/excel/spreadsheet/blazor/editing">Editing</a></li>
51655175
<li><a href="/document-processing/excel/spreadsheet/blazor/formulas">Formulas</a></li>
51665176
<li><a href="/document-processing/excel/spreadsheet/blazor/formatting">Formatting</a></li>
@@ -5604,6 +5614,9 @@
56045614
<li>
56055615
<a href="/document-processing/excel/excel-library/net/Linux">Linux</a>
56065616
</li>
5617+
<li>
5618+
<a href="/document-processing/excel/excel-library/net/Memory-Usage-Metrics">Memory Usage Metrics</a>
5619+
</li>
56075620
<li>
56085621
<a href="/document-processing/excel/excel-library/net/faq">FAQ</a>
56095622
<ul>
@@ -7209,7 +7222,7 @@
72097222
<li>
72107223
2025 Volume 4 - v32.*
72117224
<ul>
7212-
<li><a href="/document-processing/release-notes/v32.1.19">v32.1.19 Main Release</a></li>
7225+
<li><a href="/document-processing/release-notes/v32.1.19">v32.1.19 Main release</a></li>
72137226
</ul>
72147227
</li>
72157228
<li>
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
title: Memory (RAM) Usage Metrics for Syncfusion Excel (XlsIO) Library
3+
description: This section provides benchmark results showing the peak RAM usage of the Syncfusion Excel (XlsIO) library across various operations.
4+
platform: document-processing
5+
control: XlsIO
6+
documentation: UG
7+
---
8+
9+
# Memory Usage Metrics in Excel (XlsIO) Library
10+
11+
This section reports the peak memory usage (RAM) observed when handling text, date and time, number, boolean, and formula data types during Create & Save and Load & Read operations.
12+
13+
## Test Environment
14+
15+
* **OS:** Windows 11
16+
* **Processor:** AMD Ryzen 5 7520U with Radeon Graphics (2.80 GHz)
17+
* **Installed RAM:** 16 GB (15.3 GB usable)
18+
* **System type:** 64-bit OS, x64 processor
19+
20+
## Create and Save
21+
22+
The table below shows the peak memory usage (RAM) while creating and saving an Excel document containing 100,000 rows and 50 columns for different data types.
23+
24+
<table>
25+
<tr>
26+
<th>Data type</th>
27+
<th>Peak memory usage (RAM)</th>
28+
<th>Sample link</th>
29+
</tr>
30+
<tr>
31+
<td>Text</td>
32+
<td>1.1 GB</td>
33+
<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>
34+
</tr>
35+
<tr>
36+
<td>DateTime</td>
37+
<td>361 MB</td>
38+
<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>
39+
</tr>
40+
<tr>
41+
<td>Number</td>
42+
<td>342 MB</td>
43+
<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>
44+
</tr>
45+
<tr>
46+
<td>Boolean</td>
47+
<td>342 MB</td>
48+
<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>
49+
</tr>
50+
<tr>
51+
<td>Formula</td>
52+
<td>848 MB</td>
53+
<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>
54+
</tr>
55+
</table>
56+
57+
## Load and Read
58+
59+
The table below shows the peak memory usage (RAM) while loading and reading cell values from an Excel document with 100,000 rows and 50 columns for different data types.
60+
61+
<table>
62+
<tr>
63+
<th>Data type</th>
64+
<th>Peak memory usage (RAM)</th>
65+
<th>Sample link</th>
66+
</tr>
67+
<tr>
68+
<td>Text</td>
69+
<td>945 MB</td>
70+
<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>
71+
</tr>
72+
<tr>
73+
<td>DateTime</td>
74+
<td>289 MB</td>
75+
<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>
76+
</tr>
77+
<tr>
78+
<td>Number</td>
79+
<td>290 MB</td>
80+
<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>
81+
</tr>
82+
<tr>
83+
<td>Boolean</td>
84+
<td>185 MB</td>
85+
<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>
86+
</tr>
87+
<tr>
88+
<td>Formula</td>
89+
<td>520 MB</td>
90+
<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>
91+
</tr>
92+
</table>
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: Apply number formatting to an entire column in Excel | Syncfusion
3+
description: Code example to apply number formatting to an entire column in Excel using Syncfusion .NET Excel library (XlsIO).
4+
platform: document-processing
5+
control: XlsIO
6+
documentation: UG
7+
---
8+
9+
# How to apply number formatting to an entire column in Excel?
10+
11+
The following code examples demonstrate applying number formatting to an entire column in Excel using C# (Cross-platform and Windows-specific) and VB.NET.
12+
13+
{% tabs %}
14+
{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/XlsIO-Examples/master/FAQ/Column%20Number%20Format/.NET/ColumnNumberFormat/ColumnNumberFormat/Program.cs,180" %}
15+
using (ExcelEngine excelEngine = new ExcelEngine())
16+
{
17+
IApplication application = excelEngine.Excel;
18+
application.DefaultVersion = ExcelVersion.Xlsx;
19+
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/Input.xlsx"));
20+
IWorksheet sheet = workbook.Worksheets[0];
21+
22+
//Case 1: Apply direct number format (zero-based index)
23+
sheet.Columns[0].NumberFormat = "yyyy-mm-dd"; //Column A
24+
sheet.Columns[3].NumberFormat = "$#,##0.00"; //Column D
25+
sheet.Columns[4].NumberFormat = "0.00%"; //Column E
26+
27+
//Case 2: Apply style-based format (one-based index)
28+
IStyle style = workbook.Styles.Add("DecimalStyle");
29+
style.NumberFormat = "0.00";
30+
sheet.SetDefaultColumnStyle(3, style); //Column C
31+
32+
//Saving the workbook
33+
workbook.SaveAs(Path.GetFullPath(@"Output/Output.xlsx"));
34+
}
35+
{% endhighlight %}
36+
37+
{% highlight c# tabtitle="C# [Windows-specific]" %}
38+
using (ExcelEngine excelEngine = new ExcelEngine())
39+
{
40+
IApplication application = excelEngine.Excel;
41+
application.DefaultVersion = ExcelVersion.Xlsx;
42+
IWorkbook workbook = application.Workbooks.Open("Input.xlsx");
43+
IWorksheet sheet = workbook.Worksheets[0];
44+
45+
//Case 1: Apply direct number format (zero-based index)
46+
sheet.Columns[0].NumberFormat = "yyyy-mm-dd"; //Column A
47+
sheet.Columns[3].NumberFormat = "$#,##0.00"; //Column D
48+
sheet.Columns[4].NumberFormat = "0.00%"; //Column E
49+
50+
//Case 2: Apply style-based format (one-based index)
51+
IStyle style = workbook.Styles.Add("DecimalStyle");
52+
style.NumberFormat = "0.00";
53+
sheet.SetDefaultColumnStyle(3, style); //Column C
54+
55+
//Saving the workbook
56+
workbook.SaveAs("Output.xlsx");
57+
}
58+
{% endhighlight %}
59+
60+
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
61+
Using excelEngine As New ExcelEngine()
62+
Dim application As IApplication = excelEngine.Excel
63+
application.DefaultVersion = ExcelVersion.Xlsx
64+
Dim workbook As IWorkbook = application.Workbooks.Open("Input.xlsx")
65+
Dim sheet As IWorksheet = workbook.Worksheets(0)
66+
67+
'Case 1: Apply direct number format (zero-based index)
68+
sheet.Columns(0).NumberFormat = "yyyy-mm-dd" 'Column A
69+
sheet.Columns(3).NumberFormat = "$#,##0.00" 'Column D
70+
sheet.Columns(4).NumberFormat = "0.00%" 'Column E
71+
72+
'Case 2: Apply style-based format (one-based index)
73+
Dim style As IStyle = workbook.Styles.Add("DecimalStyle")
74+
style.NumberFormat = "0.00"
75+
sheet.SetDefaultColumnStyle(3, style) 'Column C
76+
77+
'Save the workbook
78+
workbook.SaveAs("Output.xlsx")
79+
End Using
80+
{% endhighlight %}
81+
{% endtabs %}
82+
83+
A complete working example that shows how to apply number formatting to an entire column in Excel using C# is present on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/FAQ/Column%20Number%20Format/.NET/ColumnNumberFormat">this GitHub page</a>.

0 commit comments

Comments
 (0)