From 242a39ae9a177e8c976ceaa893ae805136292b38 Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Mon, 1 Dec 2025 18:03:16 +0530 Subject: [PATCH 01/10] 988907-HyperLinkDisplayText --- ...empty-string-display-text-in-hyperlinks.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Document-Processing/Excel/Excel-Library/NET/faqs/how-does-xlsio-handle-empty-string-display-text-in-hyperlinks.md diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/how-does-xlsio-handle-empty-string-display-text-in-hyperlinks.md b/Document-Processing/Excel/Excel-Library/NET/faqs/how-does-xlsio-handle-empty-string-display-text-in-hyperlinks.md new file mode 100644 index 000000000..a18c2a1ca --- /dev/null +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/how-does-xlsio-handle-empty-string-display-text-in-hyperlinks.md @@ -0,0 +1,54 @@ +--- +title: Hyperlink display text behavior | Syncfusion +description: This page explains how Syncfusion XlsIO handles empty string display text in hyperlinks, consistent with Microsoft Excel behavior. +platform: document-processing +control: XlsIO +documentation: UG +--- + +# How does XlsIO handle empty string display text in hyperlinks? + +As per Microsoft Excel behavior, hyperlinks cannot be assigned with empty display text values. When the display text of a hyperlink is set to an empty string, Excel automatically uses the hyperlink address itself as the display text. Syncfusion XlsIO follows the same behavior. + +If a user does not provide a TextToDisplay value explicitly after assigning a hyperlink Address, XlsIO uses the address value as the display text to match Excel behavior. If TextToDisplay is assigned after the Address, that value is used. + +{% tabs %} +{% highlight c# tabtitle="C# [Cross-platform]" %} +//Case 1: Without TextToDisplay - address itself is used as display text +IHyperLink hyperlink1 = sheet.HyperLinks.Add(sheet.Range["A1"]); +hyperlink1.Type = ExcelHyperLinkType.Url; +hyperlink1.Address = "http://www.syncfusion.com"; //Display text will be "http://www.syncfusion.com" + +//Case 2: With TextToDisplay - provided text is used as display text +IHyperLink hyperlink2 = sheet.HyperLinks.Add(sheet.Range["A2"]); +hyperlink2.Type = ExcelHyperLinkType.Url; +hyperlink2.Address = "http://www.syncfusion.com"; +hyperlink2.TextToDisplay = "syncfusion"; //Display text will be "syncfusion" +{% endhighlight %} + +{% highlight c# tabtitle="C# [Windows-specific]" %} +//Case 1: Without TextToDisplay - address itself is used as display text +IHyperLink hyperlink1 = sheet.HyperLinks.Add(sheet.Range["A1"]); +hyperlink1.Type = ExcelHyperLinkType.Url; +hyperlink1.Address = "http://www.syncfusion.com"; //Display text will be "http://www.syncfusion.com" + +//Case 2: With TextToDisplay - provided text is used as display text +IHyperLink hyperlink2 = sheet.HyperLinks.Add(sheet.Range["A2"]); +hyperlink2.Type = ExcelHyperLinkType.Url; +hyperlink2.Address = "http://www.syncfusion.com"; +hyperlink2.TextToDisplay = "syncfusion"; //Display text will be "syncfusion" +{% endhighlight %} + +{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %} +'Case 1: Without TextToDisplay - address itself is used as display text +Dim hyperlink1 As IHyperLink = sheet.HyperLinks.Add(sheet.Range("A1")) +hyperlink1.Type = ExcelHyperLinkType.Url +hyperlink1.Address = "http://www.syncfusion.com" 'Display text will be "http://www.syncfusion.com" + +'Case 2: With TextToDisplay - provided text is used as display text +Dim hyperlink2 As IHyperLink = sheet.HyperLinks.Add(sheet.Range("A2")) +hyperlink2.Type = ExcelHyperLinkType.Url +hyperlink2.Address = "http://www.syncfusion.com" +hyperlink2.TextToDisplay = "syncfusion" 'Display text will be "syncfusion" +{% endhighlight %} +{% endtabs %} \ No newline at end of file From 9dc111d95f46cb09d21bb86140d7f62cb42e56d3 Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Thu, 4 Dec 2025 16:36:15 +0530 Subject: [PATCH 02/10] Dec1SprintNavigationLinks --- Document-Processing-toc.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index d785366d0..c39b4bd24 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5891,6 +5891,12 @@
  • How to extract embedded OLE files from an Excel workbook as streams?
  • +
  • + How to copy the used range from one Excel workbook to another? +
  • +
  • + How does XlsIO handle empty string display text in hyperlinks? +
  • From ae0236b224980418b51ce47f5aec5dc358adf1da Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Thu, 4 Dec 2025 20:31:58 +0530 Subject: [PATCH 03/10] 989214-EnableFileNameWithExtension --- .../NET/Excel-to-PDF-Converter-Settings.md | 85 ++++++++++++++++++- 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md b/Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md index c7a914728..c2b109c82 100644 --- a/Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md +++ b/Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md @@ -2234,4 +2234,87 @@ End Namespace {% endhighlight %} {% endtabs %} -A complete working example to skip warning in Excel to PDF in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Excel%20to%20PDF/Warnings/.NET/Warnings). \ No newline at end of file +A complete working example to skip warning in Excel to PDF in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Excel%20to%20PDF/Warnings/.NET/Warnings). + +## Show File Name with Extension in Header and Footer + +This property allows you to display the file name along with its extension in the header and/or footer when converting an Excel document to PDF. It's default value is FALSE. + +The following code snippet explains how to enable the ShowFileNameWithExtension property during Excel to PDF conversion. + +{% tabs %} +{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/XlsIO-Examples/master/Excel%20to%20PDF/Show%20file%20name%20with%20extension%20in%20PDF/.NET/ShowFileNameWithExtension/ShowFileNameWithExtension/Program.cs,180" %} +using (ExcelEngine excelEngine = new ExcelEngine()) +{ + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Xlsx; + IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx")); + + //Initialize XlsIORendererSettings + XlsIORendererSettings settings = new XlsIORendererSettings(); + + //Enable ShowFileNameWithExtension property + settings.ShowFileNameWithExtension = true; + + //Initialize XlsIORenderer + XlsIORenderer renderer = new XlsIORenderer(); + + //Convert the Excel document to PDF with renderer settings + PdfDocument pdfDocument = renderer.ConvertToPDF(workbook, settings); + + #region Save + //Save the PDF document + pdfDocument.Save(Path.GetFullPath(@"Output/Output.pdf")); + #endregion +} +{% endhighlight %} + +{% highlight c# tabtitle="C# [Windows-specific]" %} +using (ExcelEngine excelEngine = new ExcelEngine()) +{ + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Xlsx; + IWorkbook workbook = application.Workbooks.Open("InputTemplate.xlsx"); + + //Initialize ExcelToPdfConverterSettings + ExcelToPdfConverterSettings settings = new ExcelToPdfConverterSettings(); + + //Enable ShowFileNameWithExtension property + settings.ShowFileNameWithExtension = true; + + //Load the Excel document into ExcelToPdfConverter + ExcelToPdfConverter converter = new ExcelToPdfConverter(workbook); + + //Convert the Excel document to PDF with converter settings + PdfDocument document = converter.Convert(settings); + + //Save the PDF document + document.Save("Output.pdf"); +} +{% endhighlight %} + +{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %} +Using excelEngine As ExcelEngine = New ExcelEngine() + Dim application As IApplication = excelEngine.Excel + application.DefaultVersion = ExcelVersion.Xlsx + Dim workbook As IWorkbook = application.Workbooks.Open("InputTemplate.xlsx") + + 'Initialize ExcelToPdfConverterSettings + Dim settings As ExcelToPdfConverterSettings = New ExcelToPdfConverterSettings() + + 'Enable ShowFileNameWithExtension property + settings.ShowFileNameWithExtension = True + + 'Load the Excel document into ExcelToPdfConverter + Dim converter As ExcelToPdfConverter = New ExcelToPdfConverter(workbook) + + 'Convert the Excel document to PDF with converter settings + Dim document As PdfDocument = converter.Convert(settings) + + 'Save the PDF document + document.Save("Output.pdf") +End Using +{% endhighlight %} +{% endtabs%} + +A complete working example demonstrating how to enable the ShowFileNameWithExtension property during Excel to PDF conversion in C# is present on this GitHub page. \ No newline at end of file From c0d00a9b8ff1f030013710cdd48406c9baded09f Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Fri, 5 Dec 2025 14:06:14 +0530 Subject: [PATCH 04/10] 991254-FaqMaxRowHeight --- .../faqs/what-is-the-maximum-row-height-in-Excel.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Document-Processing/Excel/Excel-Library/NET/faqs/what-is-the-maximum-row-height-in-Excel.md diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/what-is-the-maximum-row-height-in-Excel.md b/Document-Processing/Excel/Excel-Library/NET/faqs/what-is-the-maximum-row-height-in-Excel.md new file mode 100644 index 000000000..18a5986fe --- /dev/null +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/what-is-the-maximum-row-height-in-Excel.md @@ -0,0 +1,11 @@ +--- +title: Excel maximum row height and text overflow | Syncfusion +description: Learn about Excel's maximum row height of 409 points and how Syncfusion XlsIO enforces this limitation. +platform: document-processing +control: XlsIO +documentation: UG +--- + +# What is the maximum row height in Excel? + +In Microsoft Excel, the maximum row height is **409 points**. When content in a cell exceeds this height, Excel does not automatically move the text to the next row. Syncfusion XlsIO follows the same behavior to remain consistent with Excel. \ No newline at end of file From 9b0dea33694915479fd5b01af6ad735876d608f3 Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Fri, 5 Dec 2025 14:20:03 +0530 Subject: [PATCH 05/10] Dec1SprintNavigationLinks --- Document-Processing-toc.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index c39b4bd24..30bab401f 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5897,6 +5897,9 @@
  • How does XlsIO handle empty string display text in hyperlinks?
  • +
  • + What is the maximum row height in Excel? +
  • From e9f8c6adb23e459d0d72239a9e10af2cd797c428 Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Wed, 10 Dec 2025 17:05:42 +0530 Subject: [PATCH 06/10] 991258-ImportHTMLImages --- ...-xlsio-support-importing-HTML-images-into-Excel.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Document-Processing/Excel/Excel-Library/NET/faqs/does-xlsio-support-importing-HTML-images-into-Excel.md diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/does-xlsio-support-importing-HTML-images-into-Excel.md b/Document-Processing/Excel/Excel-Library/NET/faqs/does-xlsio-support-importing-HTML-images-into-Excel.md new file mode 100644 index 000000000..fc56ea8c9 --- /dev/null +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/does-xlsio-support-importing-HTML-images-into-Excel.md @@ -0,0 +1,11 @@ +--- +title: XlsIO support for importing HTML images into Excel | Syncfusion +description: Learn whether Syncfusion XlsIO supports importing HTML images into Excel using the Syncfusion .NET Excel library (XlsIO). +platform: document-processing +control: XlsIO +documentation: UG +--- + +# Does XlsIO support importing HTML images into Excel? + +No, XlsIO does not support importing HTML images into Excel. However, it does support importing HTML tables into Excel. \ No newline at end of file From ce22a639b8262e36201bbef13c57f9a6e48b5077 Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Wed, 10 Dec 2025 17:15:03 +0530 Subject: [PATCH 07/10] Dec1SprintNavigationLinks --- Document-Processing-toc.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index 30bab401f..4f2bafa70 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5900,6 +5900,9 @@
  • What is the maximum row height in Excel?
  • +
  • + Does XlsIO support importing HTML images into Excel? +
  • From f24a36e73ac8363fac16fdcbc93c096b9f02114d Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Thu, 11 Dec 2025 21:06:41 +0530 Subject: [PATCH 08/10] 989211-CollapsedRowsColumnsInfo --- .../NET/Worksheet-Rows-and-Columns-Manipulation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Document-Processing/Excel/Excel-Library/NET/Worksheet-Rows-and-Columns-Manipulation.md b/Document-Processing/Excel/Excel-Library/NET/Worksheet-Rows-and-Columns-Manipulation.md index 38c4de310..e4b030d26 100644 --- a/Document-Processing/Excel/Excel-Library/NET/Worksheet-Rows-and-Columns-Manipulation.md +++ b/Document-Processing/Excel/Excel-Library/NET/Worksheet-Rows-and-Columns-Manipulation.md @@ -950,6 +950,8 @@ End Using A complete working example to expand or collapse groups in an Excel worksheet in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Format%20rows%20and%20columns/Expand%20or%20Collapse%20Groups/.NET/Expand%20or%20Collapse%20Groups). +N> The RowHeight or ColumnWidth of collapsed rows or columns will be 0. + ### Subtotal The XlsIO supports subtotaling a group to quickly calculate rows of related data by inserting subtotals and totals. From 52fd82ffc3035be61e33ee2cc802f8bd17d49d4c Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Fri, 12 Dec 2025 21:13:21 +0530 Subject: [PATCH 09/10] Dec1SprintNavigationLinks --- Document-Processing-toc.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index 4f2bafa70..70c3eff15 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5903,6 +5903,9 @@
  • Does XlsIO support importing HTML images into Excel?
  • +
  • + How to apply number formatting to an entire column in Excel? +
  • From 1f28d6d4e0c3baf94c53a06363013faf09097a6d Mon Sep 17 00:00:00 2001 From: MOHAN CHANDRAN <93247949+Mohan2401@users.noreply.github.com> Date: Mon, 15 Dec 2025 10:07:46 +0530 Subject: [PATCH 10/10] Update Excel-to-PDF-Converter-Settings.md --- .../Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md b/Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md index c2b109c82..b774ff82f 100644 --- a/Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md +++ b/Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Excel-to-PDF-Converter-Settings.md @@ -2236,7 +2236,7 @@ End Namespace A complete working example to skip warning in Excel to PDF in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Excel%20to%20PDF/Warnings/.NET/Warnings). -## Show File Name with Extension in Header and Footer +## Show File Name This property allows you to display the file name along with its extension in the header and/or footer when converting an Excel document to PDF. It's default value is FALSE. @@ -2317,4 +2317,4 @@ End Using {% endhighlight %} {% endtabs%} -A complete working example demonstrating how to enable the ShowFileNameWithExtension property during Excel to PDF conversion in C# is present on this GitHub page. \ No newline at end of file +A complete working example demonstrating how to enable the ShowFileNameWithExtension property during Excel to PDF conversion in C# is present on this GitHub page.