Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ documentation: UG

**Creating** **Excel** **Template** **Files**

Excel template files (XLT or XLTX) can be created in XlsIO by saving a file as **Template** using [ExcelSaveType](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.ExcelSaveType.html) enumeration. The following code snippet illustrates this.
Excel template files (XLT or XLTX) can be created in XlsIO by saving a file as **Template** using [ExcelSaveType](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.ExcelSaveType.html) enumeration. The following code snippet illustrates this.

{% tabs %}
{% highlight c# tabtitle="C# [Cross-platform]" %}
Expand Down Expand Up @@ -123,7 +123,7 @@ excelEngine.Dispose()
* [How to open an Excel file from stream?](how-to-open-an-excel-file-from-stream)
* [How to open an existing XLSX workbook and save it as XLS?](how-to-open-an-existing-xlsx-workbook-and-save-it-as-xls)
* [Does XlsIO support Excel files with macros that are digitally signed?](does-xlsio-support-excel-files-with-macros-that-are-digitally-signed)
* [How to create a simple Excel file?](https://help.syncfusion.com/file-formats/xlsio/getting-started-create-excel-file-csharp-vbnet#create-a-simple-excel-file)
* [How to fill template based data Template Markers](https://help.syncfusion.com/file-formats/xlsio/getting-started-create-excel-file-csharp-vbnet#template-based-data-filling-using-template-markers)
* [How to open an existing workbook?](https://help.syncfusion.com/file-formats/xlsio/loading-and-saving-workbook#opening-an-existing-workbook)
* [How to open a CSV file?](https://help.syncfusion.com/file-formats/xlsio/working-with-excel-worksheet#open-a-csv-file)
* [How to create a simple Excel file?](https://help.syncfusion.com/document-processing/excel/excel-library/net/overview#create-a-simple-excel-file)
* [How to fill template based data Template Markers](https://help.syncfusion.com/document-processing/excel/excel-library/net/overview#template-based-data-filling-using-template-markers)
* [How to open an existing workbook?](https://help.syncfusion.com/document-processing/excel/excel-library/net/loading-and-saving-workbook#opening-an-existing-workbook)
* [How to open a CSV file?](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-excel-worksheet#open-a-csv-file)
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ workbook.SaveAs("Sample.xlsx")
## See Also

* [How to resolve the File does not contain workbook stream error](how-to-resolve-the-file-does-not-contain-workbook-stream-error)
* [What are the known exceptions of XlsIO?](https://help.syncfusion.com/file-formats/xlsio/known-exceptions)
* [What are the supported features by file formats?](https://help.syncfusion.com/file-formats/xlsio/supported-features-by-file-formats)
* [What are the known exceptions of XlsIO?](https://help.syncfusion.com/document-processing/excel/excel-library/net/known-exceptions)
* [What are the supported features by file formats?](https://help.syncfusion.com/document-processing/excel/excel-library/net/supported-features-by-file-formats)
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: UG

# How to sort two or more columns in a pivot table?

You can sort two or more columns in a pivot table by using the [AutoSort()](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IPivotField.html#Syncfusion_XlsIO_IPivotField_AutoSort_Syncfusion_XlsIO_PivotFieldSortType_System_Int32_) method each time with the respective column index. The following code snippet illustrates this.
You can sort two or more columns in a pivot table by using the [AutoSort()](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IPivotField.html#Syncfusion_XlsIO_IPivotField_AutoSort_Syncfusion_XlsIO_PivotFieldSortType_System_Int32_) method each time with the respective column index. The following code snippet illustrates this.

{% tabs %}
{% highlight c# tabtitle="C# [Cross-platform]" %}
Expand Down Expand Up @@ -81,6 +81,6 @@ End Using
* [How to unfreeze the rows and columns in XlsIO?](how-to-unfreeze-the-rows-and-columns-in-xlsio)
* [How to hide the summary rows and columns using XlsIO?](how-to-hide-the-summary-rows-and-columns-using-xlsio)
* [How to merge excel files from more than one workbook to a single file?](how-to-merge-excel-files-from-more-than-one-workbook-to-a-single-file)
* [What is data sorting?](https://help.syncfusion.com/file-formats/xlsio/worksheet-cells-manipulation#data-sorting)
* [How to sort by value in Pivot Table?](https://help.syncfusion.com/file-formats/xlsio/working-with-pivot-tables#sort-by-value-in-pivot-table)
* [How to filter Excel data?](https://help.syncfusion.com/file-formats/xlsio/migrate-from-office-automation-to-syncfusion-xlsio/filter-excel-data)
* [What is data sorting?](https://help.syncfusion.com/document-processing/excel/excel-library/net/worksheet-cells-manipulation#data-sorting)
* [How to sort by value in Pivot Table?](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-pivot-tables#sort-by-value-in-pivot-table)
* [How to filter Excel data?](https://help.syncfusion.com/document-processing/excel/excel-library/net/migrate-from-office-automation-to-syncfusion-xlsio/filter-excel-data)
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ documentation: UG

# How to overcome Parameter Not valid exception?

**ParameterNotValid** exception occurs while trying to convert Excel document to PDF with large [CustomPaperSize](https://help.syncfusion.com/cr/file-formats/Syncfusion.ExcelToPdfConverter.ExcelToPdfConverterSettings.html#Syncfusion_ExcelToPdfConverter_ExcelToPdfConverterSettings_CustomPaperSize). Syncfusion® XlsIO cannot handle such large values. Also, the values are considered in inches. Using height and width below 200 would resolve the issue.
**ParameterNotValid** exception occurs while trying to convert Excel document to PDF with large [CustomPaperSize](https://help.syncfusion.com/cr/document-processing/Syncfusion.ExcelToPdfConverter.ExcelToPdfConverterSettings.html#Syncfusion_ExcelToPdfConverter_ExcelToPdfConverterSettings_CustomPaperSize). Syncfusion® XlsIO cannot handle such large values. Also, the values are considered in inches. Using height and width below 200 would resolve the issue.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: UG

# What are the deprecated APIs in XlsIO?

[FillBackgroundRGB](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_FillBackgroundRGB), [FillBackground](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_FillBackground), [FillForegroundRGB](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_FillForegroundRGB), and [FillForeground](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_FillForeground) APIs that were available under [CellStyle](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_CellStyle) are now deprecated, and Syncfusion® XlsIO have now come up with new APIS called [Color](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_Color), [ColorIndex](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_ColorIndex), [PatternColor](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_PatternColor), and [PatternColorIndex](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_PatternColorIndex). Please find the list below.
[FillBackgroundRGB](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_FillBackgroundRGB), [FillBackground](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_FillBackground), [FillForegroundRGB](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_FillForegroundRGB), and [FillForeground](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_FillForeground) APIs that were available under [CellStyle](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_CellStyle) are now deprecated, and Syncfusion® XlsIO have now come up with new APIS called [Color](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_Color), [ColorIndex](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_ColorIndex), [PatternColor](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_PatternColor), and [PatternColorIndex](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IExtendedFormat.html#Syncfusion_XlsIO_IExtendedFormat_PatternColorIndex). Please find the list below.

<table>
<tr>
Expand Down