Skip to content

Commit a171c50

Browse files
Merge pull request #2056 from Syncfusion-Content/hotfix/hotfix-v25.1.35
DOCINFRA-2341_merged_using_automation
2 parents ac24e35 + f5c205d commit a171c50

File tree

8 files changed

+368
-15
lines changed

8 files changed

+368
-15
lines changed

File-Formats-toc.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,6 +1687,8 @@
16871687
<li><a href="/file-formats/xlsio/faqs/how-to-find-and-replace-text-in-hyperlinks">How to find and replace text in hyperlinks</a></li>
16881688
<li><a href="/file-formats/xlsio/faqs/how-to-fix-the-argument-out-of-range-exception-when-accessing-a-large-number-of-rows-and-columns">How to fix the ArgumentOutOfRangeException when accessing a large number of rows and columns?</a></li>
16891689
<li><a href="/file-formats/xlsio/faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document">How to set Logarithmic axis for chart in Excel document?</a></li>
1690+
<li><a href="/file-formats/xlsio/faqs/how-to-resolve-performance-issue-when-deleting-a-large-number-of-rows">How to resolve performance issue when deleting a large number of rows?</a></li>
1691+
<li><a href="/file-formats/xlsio/faqs/how-to-hide-columns-using-column-name">How to hide columns using column name?</a></li>
16901692
</ul>
16911693
</li>
16921694
</ul>

File-Formats/DocIO/Working-with-Word-document.md

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,18 @@ using (WordDocument document = new WordDocument(sourceStreamPath, FormatType.Aut
248248
//Accesses the built-in document properties
249249
Console.WriteLine("Title - {0}",document.BuiltinDocumentProperties.Title);
250250
Console.WriteLine("Author - {0}", document.BuiltinDocumentProperties.Author);
251-
//Modifies or sets the category and company Built-in document properties
252-
document.BuiltinDocumentProperties.Category = "Sales reports";
253-
document.BuiltinDocumentProperties.Company = "Northwind traders";
251+
//Modifies or sets the Built-in document properties.
252+
document.BuiltinDocumentProperties.Author = "Andrew";
253+
document.BuiltinDocumentProperties.LastAuthor = "Steven";
254+
document.BuiltinDocumentProperties.CreateDate = new DateTime(1900, 12, 31, 12, 0, 0);
255+
document.BuiltinDocumentProperties.LastSaveDate = new DateTime(1900, 12, 31, 12, 0, 0);
256+
document.BuiltinDocumentProperties.LastPrinted = new DateTime(1900, 12, 31, 12, 0, 0);
257+
document.BuiltinDocumentProperties.Title = "Sample Document";
258+
document.BuiltinDocumentProperties.Subject = "Adventure Works Cycle";
259+
document.BuiltinDocumentProperties.Category = "Technical documentation";
260+
document.BuiltinDocumentProperties.Comments = "This is sample document.";
261+
document.BuiltinDocumentProperties.RevisionNumber = "2";
262+
document.BuiltinDocumentProperties.Company = "Adventure Works Cycle";
254263
//Saves and closes the destination document to MemoryStream
255264
MemoryStream stream = new MemoryStream();
256265
document.Save(stream, FormatType.Docx);
@@ -264,9 +273,18 @@ WordDocument document = new WordDocument(inputFileName);
264273
//Accesses the built-in document properties
265274
Console.WriteLine("Title - {0}",document.BuiltinDocumentProperties.Title);
266275
Console.WriteLine("Author - {0}", document.BuiltinDocumentProperties.Author);
267-
//Modifies or sets the category and company Built-in document properties
268-
document.BuiltinDocumentProperties.Category = "Sales reports";
269-
document.BuiltinDocumentProperties.Company = "Northwind traders";
276+
//Modifies or sets the Built-in document properties.
277+
document.BuiltinDocumentProperties.Author = "Andrew";
278+
document.BuiltinDocumentProperties.LastAuthor = "Steven";
279+
document.BuiltinDocumentProperties.CreateDate = new DateTime(1900, 12, 31, 12, 0, 0);
280+
document.BuiltinDocumentProperties.LastSaveDate = new DateTime(1900, 12, 31, 12, 0, 0);
281+
document.BuiltinDocumentProperties.LastPrinted = new DateTime(1900, 12, 31, 12, 0, 0);
282+
document.BuiltinDocumentProperties.Title = "Sample Document";
283+
document.BuiltinDocumentProperties.Subject = "Adventure Works Cycle";
284+
document.BuiltinDocumentProperties.Category = "Technical documentation";
285+
document.BuiltinDocumentProperties.Comments = "This is sample document.";
286+
document.BuiltinDocumentProperties.RevisionNumber = "2";
287+
document.BuiltinDocumentProperties.Company = "Adventure Works Cycle";
270288
document.Save(outputFileName, FormatType.Docx);
271289
document.Close();
272290
{% endhighlight %}
@@ -277,9 +295,18 @@ Dim document As New WordDocument(inputFileName)
277295
'Accesses the built-in document properties
278296
Console.WriteLine("Title - {0}", document.BuiltinDocumentProperties.Title)
279297
Console.WriteLine("Author - {0}", document.BuiltinDocumentProperties.Author)
280-
'Modifies or sets the category and company Built-in document properties
281-
document.BuiltinDocumentProperties.Category = "Sales reports"
282-
document.BuiltinDocumentProperties.Company = "Northwind traders"
298+
'Modifies or sets the Built-in document properties.
299+
document.BuiltinDocumentProperties.Author = "Andrew";
300+
document.BuiltinDocumentProperties.LastAuthor = "Steven";
301+
document.BuiltinDocumentProperties.CreateDate = new DateTime(1900, 12, 31, 12, 0, 0);
302+
document.BuiltinDocumentProperties.LastSaveDate = new DateTime(1900, 12, 31, 12, 0, 0);
303+
document.BuiltinDocumentProperties.LastPrinted = new DateTime(1900, 12, 31, 12, 0, 0);
304+
document.BuiltinDocumentProperties.Title = "Sample Document";
305+
document.BuiltinDocumentProperties.Subject = "Adventure Works Cycle";
306+
document.BuiltinDocumentProperties.Category = "Technical documentation";
307+
document.BuiltinDocumentProperties.Comments = "This is sample document.";
308+
document.BuiltinDocumentProperties.RevisionNumber = "2";
309+
document.BuiltinDocumentProperties.Company = "Adventure Works Cycle";
283310
'Saves and closes the document
284311
document.Save(outputFileName, FormatType.Docx)
285312
document.Close()
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title : Essential Studio for File Formats Weekly Nuget Release Release Notes
3+
description : Essential Studio for File Formats Weekly Nuget Release Release Notes
4+
platform : file-formats
5+
documentation: ug
6+
---
7+
8+
# Essential Studio for File Formats Release Notes
9+
10+
{% include release-info.html date="April 16, 2024" version="v25.1.40" %}
11+
12+
13+
## DocIO
14+
15+
* [EJ2 ASP.NET Core Release Notes](https://ej2.syncfusion.com/aspnetcore/documentation/release-notes/25.1.40#docio){:target="_blank"}
16+
* [EJ2 ASP.NET MVC Release Notes](https://ej2.syncfusion.com/aspnetmvc/documentation/release-notes/25.1.40#docio){:target="_blank"}
17+
* [EJ2 Angular Release Notes](https://ej2.syncfusion.com/angular/documentation/release-notes/25.1.40#docio){:target="_blank"}
18+
* [Blazor Release Notes](https://blazor.syncfusion.com/documentation/release-notes/25.1.40#docio){:target="_blank"}
19+
* [EJ2 React Release Notes](https://ej2.syncfusion.com/react/documentation/release-notes/25.1.40#docio){:target="_blank"}
20+
* [EJ2 Vue Release Notes](https://ej2.syncfusion.com/vue/documentation/release-notes/25.1.40#docio){:target="_blank"}
21+
* [EJ2 JavaScript Release Notes](https://ej2.syncfusion.com/javascript/documentation/release-notes/25.1.40#docio){:target="_blank"}
22+
* [EJ2 TypeScript Release Notes](https://ej2.syncfusion.com/documentation/release-notes/25.1.40#docio){:target="_blank"}
23+
* [.NET MAUI Release Notes](/maui/release-notes/v25.1.40#docio){:target="_blank"}
24+
* [Xamarin.Forms Release Notes](/xamarin/release-notes/v25.1.40#docio){:target="_blank"}
25+
* [Xamarin.Android Release Notes](/xamarin-android/release-notes/v25.1.40#docio){:target="_blank"}
26+
* [Xamarin.iOS Release Notes](/xamarin-ios/release-notes/v25.1.40#docio){:target="_blank"}
27+
* [Flutter Release Notes](/flutter/release-notes/v25.1.40#docio){:target="_blank"}
28+
* [WinUI Release Notes](/winui/release-notes/v25.1.40#docio){:target="_blank"}
29+
* [UWP Release Notes](/uwp/release-notes/v25.1.40#docio){:target="_blank"}
30+
* [Windows Forms Release Notes](/windowsforms/release-notes/v25.1.40#docio){:target="_blank"}
31+
* [WPF Release Notes](/wpf/release-notes/v25.1.40#docio){:target="_blank"}
32+
33+
34+
35+
## PDF
36+
37+
* [EJ2 ASP.NET Core Release Notes](https://ej2.syncfusion.com/aspnetcore/documentation/release-notes/25.1.40#pdf){:target="_blank"}
38+
* [EJ2 ASP.NET MVC Release Notes](https://ej2.syncfusion.com/aspnetmvc/documentation/release-notes/25.1.40#pdf){:target="_blank"}
39+
* [EJ2 Angular Release Notes](https://ej2.syncfusion.com/angular/documentation/release-notes/25.1.40#pdf){:target="_blank"}
40+
* [Blazor Release Notes](https://blazor.syncfusion.com/documentation/release-notes/25.1.40#pdf){:target="_blank"}
41+
* [EJ2 React Release Notes](https://ej2.syncfusion.com/react/documentation/release-notes/25.1.40#pdf){:target="_blank"}
42+
* [EJ2 Vue Release Notes](https://ej2.syncfusion.com/vue/documentation/release-notes/25.1.40#pdf){:target="_blank"}
43+
* [EJ2 JavaScript Release Notes](https://ej2.syncfusion.com/javascript/documentation/release-notes/25.1.40#pdf){:target="_blank"}
44+
* [EJ2 TypeScript Release Notes](https://ej2.syncfusion.com/documentation/release-notes/25.1.40#pdf){:target="_blank"}
45+
* [.NET MAUI Release Notes](/maui/release-notes/v25.1.40#pdf){:target="_blank"}
46+
* [Xamarin.Forms Release Notes](/xamarin/release-notes/v25.1.40#pdf){:target="_blank"}
47+
* [Xamarin.Android Release Notes](/xamarin-android/release-notes/v25.1.40#pdf){:target="_blank"}
48+
* [Xamarin.iOS Release Notes](/xamarin-ios/release-notes/v25.1.40#pdf){:target="_blank"}
49+
* [Flutter Release Notes](/flutter/release-notes/v25.1.40#pdf){:target="_blank"}
50+
* [WinUI Release Notes](/winui/release-notes/v25.1.40#pdf){:target="_blank"}
51+
* [UWP Release Notes](/uwp/release-notes/v25.1.40#pdf){:target="_blank"}
52+
* [Windows Forms Release Notes](/windowsforms/release-notes/v25.1.40#pdf){:target="_blank"}
53+
* [WPF Release Notes](/wpf/release-notes/v25.1.40#pdf){:target="_blank"}
54+
55+
56+
## Presentation
57+
58+
* [EJ2 ASP.NET Core Release Notes](https://ej2.syncfusion.com/aspnetcore/documentation/release-notes/25.1.40#presentation){:target="_blank"}
59+
* [EJ2 ASP.NET MVC Release Notes](https://ej2.syncfusion.com/aspnetmvc/documentation/release-notes/25.1.40#presentation){:target="_blank"}
60+
* [Blazor Release Notes](https://blazor.syncfusion.com/documentation/release-notes/25.1.40#presentation){:target="_blank"}
61+
* [EJ2 Angular Release Notes](https://ej2.syncfusion.com/angular/documentation/release-notes/25.1.40#presentation){:target="_blank"}
62+
* [EJ2 React Release Notes](https://ej2.syncfusion.com/react/documentation/release-notes/25.1.40#presentation){:target="_blank"}
63+
* [EJ2 Vue Release Notes](https://ej2.syncfusion.com/vue/documentation/release-notes/25.1.40#presentation){:target="_blank"}
64+
* [EJ2 JavaScript Release Notes](https://ej2.syncfusion.com/javascript/documentation/release-notes/25.1.40#presentation){:target="_blank"}
65+
* [EJ2 TypeScript Release Notes](https://ej2.syncfusion.com/documentation/release-notes/25.1.40#presentation){:target="_blank"}
66+
* [.NET MAUI Release Notes](/maui/release-notes/v25.1.40#presentation){:target="_blank"}
67+
* [Xamarin.Forms Release Notes](/xamarin/release-notes/v25.1.40#presentation){:target="_blank"}
68+
* [Xamarin.Android Release Notes](/xamarin-android/release-notes/v25.1.40#presentation){:target="_blank"}
69+
* [Xamarin.iOS Release Notes](/xamarin-ios/release-notes/v25.1.40#presentation){:target="_blank"}
70+
* [Flutter Release Notes](/flutter/release-notes/v25.1.40#presentation){:target="_blank"}
71+
* [WinUI Release Notes](/winui/release-notes/v25.1.40#presentation){:target="_blank"}
72+
* [Windows Forms Release Notes](/windowsforms/release-notes/v25.1.40#presentation){:target="_blank"}
73+
* [WPF Release Notes](/wpf/release-notes/v25.1.40#presentation){:target="_blank"}
74+
* [UWP Release Notes](/uwp/release-notes/v25.1.40#presentation){:target="_blank"}
75+
76+
77+
78+
## XlsIO
79+
80+
* [EJ2 ASP.NET Core Release Notes](https://ej2.syncfusion.com/aspnetcore/documentation/release-notes/25.1.40#xlsio){:target="_blank"}
81+
* [EJ2 ASP.NET MVC Release Notes](https://ej2.syncfusion.com/aspnetmvc/documentation/release-notes/25.1.40#xlsio){:target="_blank"}
82+
* [EJ2 Angular Release Notes](https://ej2.syncfusion.com/angular/documentation/release-notes/25.1.40#xlsio){:target="_blank"}
83+
* [Blazor Release Notes](https://blazor.syncfusion.com/documentation/release-notes/25.1.40#xlsio){:target="_blank"}
84+
* [EJ2 React Release Notes](https://ej2.syncfusion.com/react/documentation/release-notes/25.1.40#xlsio){:target="_blank"}
85+
* [EJ2 Vue Release Notes](https://ej2.syncfusion.com/vue/documentation/release-notes/25.1.40#xlsio){:target="_blank"}
86+
* [EJ2 JavaScript Release Notes](https://ej2.syncfusion.com/javascript/documentation/release-notes/25.1.40#xlsio){:target="_blank"}
87+
* [EJ2 TypeScript Release Notes](https://ej2.syncfusion.com/documentation/release-notes/25.1.40#xlsio){:target="_blank"}
88+
* [.NET MAUI Release Notes](/maui/release-notes/v25.1.40#xlsio){:target="_blank"}
89+
* [Xamarin.Forms Release Notes](/xamarin/release-notes/v25.1.40#xlsio){:target="_blank"}
90+
* [Xamarin.Android Release Notes](/xamarin-android/release-notes/v25.1.40#xlsio){:target="_blank"}
91+
* [Xamarin.iOS Release Notes](/xamarin-ios/release-notes/v25.1.40#xlsio){:target="_blank"}
92+
* [Flutter Release Notes](/flutter/release-notes/v25.1.40#xlsio){:target="_blank"}
93+
* [WinUI Release Notes](/winui/release-notes/v25.1.40#xlsio){:target="_blank"}
94+
* [UWP Release Notes](/uwp/release-notes/v25.1.40#xlsio){:target="_blank"}
95+
* [Windows Forms Release Notes](/windowsforms/release-notes/v25.1.40#xlsio){:target="_blank"}
96+
* [WPF Release Notes](/wpf/release-notes/v25.1.40#xlsio){:target="_blank"}
97+
98+

File-Formats/XlsIO/FAQ.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ The frequently asked questions in Essential XlsIO are listed below.
7979
* [Why cone chart shows itself as column or bar chart?](faqs/why-cone-chart-shows-itself-as-colum-or-bar-chart)
8080
* [How to vary colors by point for line and column chart?](faqs/how-to-vary-colors-by-point-for-line-and-column-chart)
8181
* [How to upload a file to Azure blob and download as stream?](faqs/how-to-upload-a-file-to-azure-blob-and-download-as-stream)
82-
* [How to find and replace text in hyperlinks](faqs/how-to-find-and-replace-text-in-hyperlinks)
82+
* [How to find and replace text in hyperlinks?](faqs/how-to-find-and-replace-text-in-hyperlinks)
8383
* [How to fix the ArgumentOutOfRangeException when accessing a large number of rows and columns?](faqs/how-to-fix-the-argument-out-of-range-exception-when-accessing-a-large-number-of-rows-and-columns)
84-
* [How to set Logarithmic axis for chart in Excel document](faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document)
84+
* [How to set Logarithmic axis for chart in Excel document?](faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document)
85+
* [How to resolve performance issue when deleting a large number of rows?](faqs/how-to-resolve-performance-issue-when-deleting-a-large-number-of-rows)
86+
* [How to hide columns using column name](faqs/how-to-hide-columns-using-column-name)

File-Formats/XlsIO/Working-with-Data.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Working with Data | Syncfusion
33
description: Learn how to import data to Excel file from ADO.NET objects, Collections, Array; and how to export data from Excel to ADO.NET objects or collections.
4-
platform: file-Formats
4+
platform: file-formats
55
control: XlsIO
66
documentation: UG
77
---
@@ -81,6 +81,8 @@ End Using
8181

8282
A complete working example to import data from DataTable to Excel worksheet in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Import%20and%20Export%20Data/DataTable%20to%20Worksheet).
8383

84+
N> XlsIO imports the data from data table into Excel worksheet based on the data table column type. So, it is suggested to create the data tables with required column types such as number, text or date time before importing the data table to Excel worksheet.
85+
8486
### Import Data from DataColumn
8587

8688
The following code snippet illustrates how to import DataColumn into a worksheet using [ImportDataColumn](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_ImportDataColumn_System_Data_DataColumn_System_Boolean_System_Int32_System_Int32_) method.
@@ -2244,7 +2246,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
22442246
IWorksheet worksheet = workbook.Worksheets[0];
22452247

22462248
//Read data from the worksheet and Export to the DataTable
2247-
DataTable customersTable = worksheet.ExportDataTable(worksheet.UsedRange, ExcelExportDataTableOptions.ColumnNames);
2249+
DataTable customersTable = worksheet.ExportDataTable(worksheet.UsedRange, ExcelExportDataTableOptions.ColumnNames | ExcelExportDataTableOptions.ComputedFormulaValues);
22482250

22492251
//Saving the workbook as stream
22502252
FileStream stream = new FileStream("ExportToDT.xlsx", FileMode.Create, FileAccess.ReadWrite);
@@ -2264,7 +2266,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
22642266
IWorksheet worksheet = workbook.Worksheets[0];
22652267

22662268
//Read data from the worksheet and Export to the DataTable
2267-
DataTable customersTable = worksheet.ExportDataTable(worksheet.UsedRange, ExcelExportDataTableOptions.ColumnNames);
2269+
DataTable customersTable = worksheet.ExportDataTable(worksheet.UsedRange, ExcelExportDataTableOptions.ColumnNames | ExcelExportDataTableOptions.ComputedFormulaValues);
22682270

22692271
//Binding exported DataTable to data grid, likewise it can binded to any
22702272
//user interface control which supports binding
@@ -2283,7 +2285,7 @@ Using excelEngine As ExcelEngine = New ExcelEngine()
22832285
Dim sheet As IWorksheet = workbook.Worksheets(0)
22842286

22852287
'Read data from the worksheet and Export to the DataTable
2286-
Dim customersTable As DataTable = sheet.ExportDataTable(sheet.UsedRange, ExcelExportDataTableOptions.ColumnNames)
2288+
Dim customersTable As DataTable = sheet.ExportDataTable(sheet.UsedRange, ExcelExportDataTableOptions.ColumnNames Or ExcelExportDataTableOptions.ComputedFormulaValues)
22872289

22882290
'Binding exported DataTable to data grid, likewise it can binded to any
22892291
'user interface control which supports binding

File-Formats/XlsIO/Working-with-Template-Markers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ Syntax: %&lt;MarkerVariable&gt;.&lt;Property&gt;collapsegroup
7373

7474
Syntax: %&lt;MarkerVariable&gt;.&lt;Property&gt;expandgroup
7575

76+
N> XlsIO supports only one marker for each cell while importing data from data sources to Excel templates. This is the behavior of template marker in XlsIO.
77+
7678
## Bind from Array
7779

7880
An array of data can be binded to the marker in the template document.

0 commit comments

Comments
 (0)