Skip to content

Commit 8c30b04

Browse files
authored
Merge branch 'hotfix/hotfix-v32.2.3' into 989073-EndColumnPivotTable
2 parents d980f28 + 74a64b7 commit 8c30b04

6 files changed

Lines changed: 510 additions & 224 deletions

File tree

Document-Processing-toc.html

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5191,6 +5191,39 @@
51915191
<li><a href="https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/">API Reference</a></li>
51925192
</ul>
51935193
</li>
5194+
5195+
<li>
5196+
<a href="/document-processing/excel/spreadsheet/blazor/overview">Blazor</a>
5197+
<ul>
5198+
<li>Getting Started
5199+
<ul>
5200+
<li><a href="/document-processing/excel/spreadsheet/blazor/getting-started-webapp">Blazor Web App</a></li>
5201+
<li><a href="/document-processing/excel/spreadsheet/blazor/getting-started">Blazor WASM App</a></li>
5202+
<li><a href="/document-processing/excel/spreadsheet/blazor/blazor-hybrid-maui-app">Blazor Hybrid MAUI App</a></li>
5203+
</ul>
5204+
</li>
5205+
<li><a href="/document-processing/excel/spreadsheet/blazor/open-and-save">Open and Save</a></li>
5206+
<li><a href="/document-processing/excel/spreadsheet/blazor/worksheet">Worksheet</a></li>
5207+
<li><a href="/document-processing/excel/spreadsheet/blazor/cell-range">Cell Range</a></li>
5208+
<li><a href="/document-processing/excel/spreadsheet/blazor/merge-cell">Merge Cells</a></li>
5209+
<li><a href="/document-processing/excel/spreadsheet/blazor/editing">Editing</a></li>
5210+
<li><a href="/document-processing/excel/spreadsheet/blazor/formulas">Formulas</a></li>
5211+
<li><a href="/document-processing/excel/spreadsheet/blazor/formatting">Formatting</a></li>
5212+
<li><a href="/document-processing/excel/spreadsheet/blazor/contextmenu">Context Menu</a></li>
5213+
<li><a href="/document-processing/excel/spreadsheet/blazor/rows-and-columns">Rows and Columns</a></li>
5214+
<li><a href="/document-processing/excel/spreadsheet/blazor/filtering">Filtering</a></li>
5215+
<li><a href="/document-processing/excel/spreadsheet/blazor/sorting">Sorting</a></li>
5216+
<li><a href="/document-processing/excel/spreadsheet/blazor/hyperlink">Hyperlink</a></li>
5217+
<li><a href="/document-processing/excel/spreadsheet/blazor/clipboard">Clipboard</a></li>
5218+
<li><a href="/document-processing/excel/spreadsheet/blazor/selection">Selection</a></li>
5219+
<li><a href="/document-processing/excel/spreadsheet/blazor/protection">Protection</a></li>
5220+
<li><a href="/document-processing/excel/spreadsheet/blazor/undo-redo">Undo and Redo</a></li>
5221+
<li><a href="/document-processing/excel/spreadsheet/blazor/performance-metrics">Performance Metrics</a></li>
5222+
<li><a href="/document-processing/excel/spreadsheet/blazor/accessibility">Accessibility</a></li>
5223+
<li><a href="/document-processing/excel/spreadsheet/blazor/events">Events</a></li>
5224+
<li><a href="https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html">API Reference</a></li>
5225+
</ul>
5226+
</li>
51945227
<li>
51955228
<a href="/document-processing/excel/spreadsheet/react/overview">React</a>
51965229
<ul>
@@ -5461,37 +5494,6 @@
54615494
<li><a href="/document-processing/excel/spreadsheet/wpf/Limitations">Limitations</a></li>
54625495
</ul>
54635496
</li>
5464-
<li>
5465-
<a href="/document-processing/excel/spreadsheet/blazor/overview">Blazor</a>
5466-
<ul>
5467-
<li>Getting Started
5468-
<ul>
5469-
<li><a href="/document-processing/excel/spreadsheet/blazor/getting-started-webapp">Blazor Web App</a></li>
5470-
<li><a href="/document-processing/excel/spreadsheet/blazor/getting-started">Blazor WASM App</a></li>
5471-
<li><a href="/document-processing/excel/spreadsheet/blazor/blazor-hybrid-maui-app">Blazor Hybrid MAUI App</a></li>
5472-
</ul>
5473-
</li>
5474-
<li><a href="/document-processing/excel/spreadsheet/blazor/open-and-save">Open and Save</a></li>
5475-
<li><a href="/document-processing/excel/spreadsheet/blazor/worksheet">Worksheet</a></li>
5476-
<li><a href="/document-processing/excel/spreadsheet/blazor/cell-range">Cell Range</a></li>
5477-
<li><a href="/document-processing/excel/spreadsheet/blazor/merge-cell">Merge Cells</a></li>
5478-
<li><a href="/document-processing/excel/spreadsheet/blazor/editing">Editing</a></li>
5479-
<li><a href="/document-processing/excel/spreadsheet/blazor/formulas">Formulas</a></li>
5480-
<li><a href="/document-processing/excel/spreadsheet/blazor/formatting">Formatting</a></li>
5481-
<li><a href="/document-processing/excel/spreadsheet/blazor/contextmenu">Context Menu</a></li>
5482-
<li><a href="/document-processing/excel/spreadsheet/blazor/rows-and-columns">Rows and Columns</a></li>
5483-
<li><a href="/document-processing/excel/spreadsheet/blazor/filtering">Filtering</a></li>
5484-
<li><a href="/document-processing/excel/spreadsheet/blazor/sorting">Sorting</a></li>
5485-
<li><a href="/document-processing/excel/spreadsheet/blazor/hyperlink">Hyperlink</a></li>
5486-
<li><a href="/document-processing/excel/spreadsheet/blazor/clipboard">Clipboard</a></li>
5487-
<li><a href="/document-processing/excel/spreadsheet/blazor/selection">Selection</a></li>
5488-
<li><a href="/document-processing/excel/spreadsheet/blazor/protection">Protection</a></li>
5489-
<li><a href="/document-processing/excel/spreadsheet/blazor/undo-redo">Undo and Redo</a></li>
5490-
<li><a href="/document-processing/excel/spreadsheet/blazor/accessibility">Accessibility</a></li>
5491-
<li><a href="/document-processing/excel/spreadsheet/blazor/events">Events</a></li>
5492-
<li><a href="https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html">API Reference</a></li>
5493-
</ul>
5494-
</li>
54955497
</ul>
54965498
</li>
54975499
<li>

Document-Processing/Excel/Excel-Library/NET/Working-with-Pivot-Charts.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,59 @@ pivotChartSheet.Series(0).SerieFormat.CommonSerieOptions.Overlap = 100
153153
{% endhighlight %}
154154
{% endtabs %}
155155

156-
156+
## Refresh PivotChart
157+
158+
To refresh a PivotChart, update the PivotTable's cache data source so the chart uses the updated cached data.
159+
160+
{% tabs %}
161+
{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/XlsIO-Examples/master/Pivot%20Charts/Refresh%20Pivot%20Chart/.NET/Refresh%20Pivot%20Chart/Refresh%20Pivot%20Chart/Program.cs,180" %}
162+
using (ExcelEngine excelEngine = new ExcelEngine())
163+
{
164+
IApplication application = excelEngine.Excel;
165+
application.DefaultVersion = ExcelVersion.Excel2013;
166+
IWorkbook workbook = application.Workbooks.Open("PivotChart.xlsx");
167+
168+
IWorksheet dataSheet = workbook.Worksheets[0];
169+
IWorksheet pivotSheet = workbook.Worksheets[1];
170+
171+
// Update pivot cache source range to refresh the PivotChart
172+
(pivotSheet.PivotTables[0] as PivotTableImpl).Cache.SourceRange = dataSheet["A1:H50"];
173+
174+
workbook.SaveAs("PivotChart_Refreshed.xlsx");
175+
}
176+
{% endhighlight %}
177+
178+
{% highlight c# tabtitle="C# [Windows-specific]" %}
179+
using (ExcelEngine excelEngine = new ExcelEngine())
180+
{
181+
IApplication application = excelEngine.Excel;
182+
application.DefaultVersion = ExcelVersion.Excel2013;
183+
IWorkbook workbook = application.Workbooks.Open("PivotChart.xlsx");
184+
185+
IWorksheet dataSheet = workbook.Worksheets[0];
186+
IWorksheet pivotSheet = workbook.Worksheets[1];
187+
188+
(pivotSheet.PivotTables[0] as PivotTableImpl).Cache.SourceRange = dataSheet["A1:H50"];
189+
190+
workbook.SaveAs("PivotChart_Refreshed.xlsx");
191+
}
192+
{% endhighlight %}
193+
194+
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
195+
Using excelEngine As New ExcelEngine()
196+
Dim application As IApplication = excelEngine.Excel
197+
application.DefaultVersion = ExcelVersion.Excel2013
198+
Dim workbook As IWorkbook = application.Workbooks.Open("PivotChart.xlsx")
199+
200+
' set these to the actual sheets in your file
201+
Dim dataSheet As IWorksheet = workbook.Worksheets(0)
202+
Dim pivotSheet As IWorksheet = workbook.Worksheets(1)
203+
204+
DirectCast(pivotSheet.PivotTables(0), PivotTableImpl).Cache.SourceRange = dataSheet("A1:H50")
205+
206+
workbook.SaveAs("PivotChart_Refreshed.xlsx")
207+
End Using
208+
{% endhighlight %}
209+
{% endtabs %}
210+
211+
A complete working example to refresh pivot chart in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Pivot%20Charts/Refresh%20Pivot%20Chart/.NET/Refresh%20Pivot%20Chart).
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
layout: post
3+
title: Performance Metrics in Blazor Spreadsheet Control | Syncfusion
4+
description: Learn here all about performance metrics in the Blazor Spreadsheet control, including how it manages data, handles rendering speed and more.
5+
platform: document-processing
6+
control: Performance
7+
documentation: ug
8+
---
9+
10+
# Performance Metrics in blazor Spreadsheet Control
11+
12+
Performance metrics show how efficiently the [Syncfusion® blazor Spreadsheet](https://www.syncfusion.com/spreadsheet-editor-sdk/blazor-spreadsheet-editor) handles large datasets and core operations such as rendering, styling, number Formats and file import/export. This documentation provides the measured results for these operations to give a clear view of how the control performs under different workloads.
13+
14+
15+
## Environment
16+
17+
The following environment configuration is used for performance evaluation:
18+
19+
* **Browser**: Edge (latest)
20+
* **Hardware**: Modern multi‑core processor
21+
* **RAM**: 16 GB or higher
22+
* **Spreadsheet Version**:
23+
* [Theme Version](https://www.nuget.org/packages/Syncfusion.Blazor.themes)
24+
* [NuGet Version](https://www.nuget.org/packages/Syncfusion.Blazor.Spreadsheet)
25+
* **Data Source Format**: Mixed data types (numbers, text, number formats)
26+
27+
28+
29+
## Spreadsheet Features
30+
31+
This section outlines the operations evaluated in the Spreadsheet when working with large datasets. It covers actions such as rendering cells, applying styles, number formats and file import/export to help understand how the control processes common spreadsheet tasks.
32+
33+
### Server
34+
35+
| Operation | Dataset Size | Time (sec) |
36+
|-----------------------------|--------------|-------------|
37+
| Initial Rendering | 250k cells | 1.31 sec |
38+
| Applying Styles | 250k cells | 12.0 sec |
39+
| Applying Number Formats | 250k cells | 0.97 sec |
40+
41+
42+
### Wasm
43+
44+
| Operation | Dataset Size | Time (sec) |
45+
|-----------------------------|--------------|-------------|
46+
| Initial Rendering | 250k cells | 6.99 sec |
47+
| Applying Styles | 250k cells | 15.98 sec |
48+
| Applying Number Formats | 250k cells | 9.45 sec |
49+
50+
51+
## Import and export performance metrics
52+
53+
This section focuses on evaluating how the Spreadsheet handles file import and export operations involving large datasets with formatting and validation. It provides insight into how efficiently these operations are processed under varying data conditions.
54+
55+
### Server
56+
57+
| Operation | Dataset Size | Time (sec) |
58+
|-----------------------------------------|-----------------------------------|------------|
59+
| Importing | 250k cells without formats | 2.35 sec |
60+
| Importing | 250k cells with formats | 3.12 sec |
61+
| Exporting | 250k cells without formats | 1.07 sec |
62+
| Exporting | 250k cells with formats | 1.26 sec |
63+
64+
### Wasm
65+
66+
67+
| Operation | Dataset Size | Time (sec) |
68+
|-----------------------------------------|-----------------------------------|------------|
69+
| Importing | 250k cells without formats | 38 sec |
70+
| Importing | 250k cells with formats | 50 sec |
71+
| Exporting | 250k cells without formats | 6.25 sec |
72+
| Exporting | 250k cells with formats | 8.14 sec |
73+
74+
> **Disclaimer:**  Performance metrics and memory benchmarking are based on internal tests under specific conditions. Actual results may vary depending on the environment and usage.
75+
## See Also
76+
77+
* [Open and Save](https://help.syncfusion.com/document-processing/excel/spreadsheet/blazor/open-and-save)

Document-Processing/PDF/PDF-Library/NET/Working-with-Security.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,10 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
16081608
Read a PDF document permission flags via the [Security.Permissions](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Security.PdfSecurity.html#Syncfusion_Pdf_Security_PdfSecurity_Permissions) property, which returns a bitwise combination of values from the [PdfPermissionsFlags](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Security.PdfPermissionsFlags.html) enumeration.
16091609

16101610
{% tabs %}
1611-
{% highlight c# tabtitle="C# [Cross-platform]" %}
1611+
{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/PDF-Examples/master/Security/PDF-permission-viewer/.NET/PDF-permission-viewer/Program.cs" %}
1612+
1613+
using Syncfusion.Pdf.Parsing;
1614+
using Syncfusion.Pdf.Security;
16121615

16131616
// Load an existing PDF
16141617
using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"))
@@ -1633,6 +1636,9 @@ using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"))
16331636
{% endhighlight %}
16341637
{% highlight c# tabtitle="C# [Windows-specific]" %}
16351638

1639+
using Syncfusion.Pdf.Parsing;
1640+
using Syncfusion.Pdf.Security;
1641+
16361642
// Load an existing PDF
16371643
using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"))
16381644
{
@@ -1656,6 +1662,9 @@ using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"))
16561662
{% endhighlight %}
16571663
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
16581664

1665+
Imports Syncfusion.Pdf.Parsing
1666+
Imports Syncfusion.Pdf.Security
1667+
16591668
' Load an existing PDF
16601669
Using loadedDocument As New PdfLoadedDocument("Input.pdf")
16611670
' Access the document security settings
@@ -1678,7 +1687,7 @@ End Using
16781687
{% endhighlight %}
16791688
{% endtabs %}
16801689

1681-
You can download a complete working sample from GitHub.
1690+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Security/PDF-permission-viewer/.NET).
16821691

16831692
## Remove password from the user password PDF document
16841693

Document-Processing/PDF/PDF-Library/NET/Working-with-Text-Extraction.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,4 +651,18 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
651651
<td>Finds a text string on a specific page (<code>index</code>), returning rectangles in <code>matchRect</code>.</td>
652652
</tr>
653653
</tbody>
654-
</table>
654+
</table>
655+
656+
## Troubleshooting and FAQ’s
657+
658+
### What is the recommended way to extract form field values from a PDF document?
659+
660+
The [ExtractText](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.PdfPageBase.html#Syncfusion_Pdf_PdfPageBase_ExtractText) API retrieves only the text that is visibly rendered on the page’s graphics layer. It does not extract the values contained in interactive form fields such as text boxes, combo boxes, or buttons. This is because form field data resides in the PDF’s interactive form (AcroForm) structure, separate from the page’s content stream.
661+
662+
To retrieve form field values, you have two recommended options:
663+
664+
1. [Flatten form fields](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-forms#flattening-form-fields-in-a-pdf): Converts interactive form fields into static page content, embedding their values directly into the PDF’s text stream. After flattening, any text extraction process (such as ExtractText) will include these values.
665+
666+
Refer to the text extraction section of the PDF [UG documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-text-extraction) for more details.
667+
668+
2. [Iterate through form fields directly](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-forms#enumerate-the-form-fields): Access each form field in the PDF’s form collection and read its value programmatically. This approach provides the most accurate and structured method for extracting form data.

0 commit comments

Comments
 (0)