SpreadsheetLight
Encapsulates properties and methods for handling rich string types. This includes the CommentText class, InlineString class and SharedStringItem class. This simulates the (abstract) DocumentFormat.OpenXml.Spreadsheet.RstType class.
This also take on double duty as rich text for other purposes such as charts. We do this so other developers don't have to learn another class.
Initializes an instance of SLRstType. It is recommended to use CreateRstType() of the SLDocument class.
Set the text. If text formatting is needed, use one of the AppendText() functions.
The text.
Get the text. This is the plain text string, and not the rich text runs.
The plain text.
Get a list of rich text runs.
A list of rich text runs.
Replace the internal list of rich text runs.
The new list of rich text runs for replacing.
Append given text in the current theme's minor font and default font size.
The text.
Append given text with a given font style.
The text.
The font style.
Form an SLRstType from DocumentFormat.OpenXml.Spreadsheet.CommentText class.
A source DocumentFormat.OpenXml.Spreadsheet.CommentText class.
Form a DocumentFormat.OpenXml.Spreadsheet.CommentText class from this SLRstType class.
A DocumentFormat.OpenXml.Spreadsheet.CommentText class.
Form an SLRstType from DocumentFormat.OpenXml.Spreadsheet.InlineString class.
A source DocumentFormat.OpenXml.Spreadsheet.InlineString class.
Form a DocumentFormat.OpenXml.Spreadsheet.InlineString class from this SLRstType class.
A DocumentFormat.OpenXml.Spreadsheet.InlineString class.
Form an SLRstType from DocumentFormat.OpenXml.Spreadsheet.SharedStringItem class.
A source DocumentFormat.OpenXml.Spreadsheet.SharedStringItem class.
Form a DocumentFormat.OpenXml.Spreadsheet.SharedStringItem class from this SLRstType class.
A DocumentFormat.OpenXml.Spreadsheet.SharedStringItem class.
Form a string with all the text formatting stripped out.
An unformatted text string.
Clone a new instance of SLRstType.
A cloned instance of this SLRstType.
This is in degrees, not radians.
This returns the width in points
Chart customization options for line charts.
Initializes an instance of SLLineChartOptions. It is recommended to use SLChart.CreateLineChartOptions().
Clone an instance of SLLineChartOptions.
An SLLineChartOptions object.
The gap depth between line clusters (between different data series) as a percentage of bar or column width, ranging between 0% and 500% (both inclusive). The default is 150%. This is only used for 3D chart version.
Indicates if the line chart has drop lines.
Drop lines properties.
Indicates if the line chart has high-low lines. This is not applicable for 3D line charts.
High-low lines properties.
Indicates if the line chart has up-down bars. This is not applicable for 3D line charts.
Up-down bars properties.
Whether the line connecting data points use C splines (instead of straight lines).
I hope I don't have to support this... This complements macro-enabled Excel files?
In future? Is this for macro-enabled Excel files?
Call RefreshPossibleTableId() first!
Call RefreshPossiblePivotTableId() first!
Adds a calculation cell if it doesn't already exist
Encapsulates properties and methods for setting series axes in charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.SeriesAxis class.
For CategoryAxis, ValueAxis, SeriesAxis and DateAxis from namespace DocumentFormat.OpenXml.Drawing.Charts.
Encapsulates properties and methods for setting alignment in charts.
Initializes an instance of SLChartAlignment.
Set a horizontal text direction.
The vertical text alignment in horizontal direction.
Rotation angle, ranging from -90 to 90 degrees. Accurate to 1/60000 of a degree.
Set a stacked (vertical) text direction.
The horizontal text alignment in vertical direction.
True if the text runs left-to-right. False if the text runs right-to-left.
Set the text rotated 90 degrees.
Set the text rotated 270 degrees.
Remove all text alignment.
Display axis values in reverse order.
Whether major gridlines are shown.
Major gridlines properties.
Whether minor gridlines are shown.
Minor gridlines properties.
Whether the axis title is shown.
Axis title properties.
Format code for the axis. If you set a custom format code, you might also want to set SourceLinked to false.
Whether the format code is linked to the data source.
Major tick mark type.
Minor tick mark type.
Position of axis labels.
Fill properties.
Line properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
This is the interval between labels, and is at least 1. A suggested range is 1 to 255 (both inclusive).
This is the interval between tick marks, and is at least 1. A suggested range is 1 to 31999 (both inclusive).
Encapsulates properties and methods for setting data markers in charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.Marker class.
Marker symbol.
Range is 2 to 72 inclusive. Default is 5 in Open XML but Excel uses 7.
Fill properties.
Line properties.
For BubbleSize, Minus, Plus, Values, YValues
This takes the place of StringCache
Encapsulates properties and methods for specifying reflection effects.
This simulates the DocumentFormat.OpenXml.Drawing.Reflection class.
Initializes an instance of SLReflection.
Set a tight reflection.
Set a tight reflection.
Offset distance of the reflection, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Set a half reflection.
Set a half reflection.
Offset distance of the reflection, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Set a full reflection.
Set a full reflection.
Offset distance of the reflection, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Set reflection.
Transparency ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Size of reflection ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Distance of the reflection from the origin, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Blur radius of the reflection, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Set a reflection of the picture.
Blur radius of the reflection, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Start opacity of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 100%.
Position of start opacity of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 0%.
End alpha of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 0%.
Position of end alpha of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 100%.
Distance of the reflection from the origin, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Direction of the alpha gradient relative to the origin, ranging from 0 degrees to 359.9 degrees. 0 degrees means to the right, 90 degrees is below, 180 degrees is to the right, and 270 degrees is above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Direction to fade the reflection, ranging from 0 degrees to 359.9 degrees. 0 degrees means to the right, 90 degrees is below, 180 degrees is to the right, and 270 degrees is above. Accurate to 1/60000 of a degree. Default value is 90 degrees.
Horizontal scaling ratio in percentage. A negative ratio flips the reflection horizontally. Accurate to 1/1000 of a percent. Default value is 100%.
Vertical scaling ratio in percentage. A negative ratio flips the reflection vertically. Accurate to 1/1000 of a percent. Default value is 100%.
Horizontal skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Vertical skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Sets the origin for the size scaling, angle skews and distance offsets. Default value is Bottom.
True if the reflection should rotate. False otherwise. Default value is true.
Blur radius of the reflection, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Start opacity of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 100%.
Position of start opacity of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 0%.
End alpha of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 0%.
Position of end alpha of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 100%.
Distance of the reflection from the origin, ranging from 0 pt to 2147483647 pt. A suggested range is 0 pt to 100 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Direction of the alpha gradient, ranging from 0 degrees to 359.9 degrees. 0 degrees means to the right, 90 degrees is below, 180 degrees is to the right, and 270 degrees is above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Direction to fade the reflection, ranging from 0 degrees to 359.9 degrees. 0 degrees means to the right, 90 degrees is below, 180 degrees is to the right, and 270 degrees is above. Accurate to 1/60000 of a degree. Default value is 90 degrees.
Horizontal scaling ratio in percentage. A negative ratio flips the reflection horizontally. Accurate to 1/1000 of a percent. Default value is 100%.
Vertical scaling ratio in percentage. A negative ratio flips the reflection vertically. Accurate to 1/1000 of a percent. Default value is 100%.
Horizontal skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Vertical skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Sets the origin for the size scaling, angle skews and distance offsets. Default value is Bottom.
True if the reflection should rotate as well. False otherwise.
Encapsulates the main properties and methods to create and manipulate a spreadsheet.
Creates an instance of SLFont with theme information.
An SLFont with theme information.
Creates an instance of SLPatternFill with theme information.
An SLPatternFill with theme information.
Creates an instance of SLGradientFill with theme information.
An SLGradientFill with theme information.
Creates an instance of SLFill with theme information.
An SLFill with theme information.
Creates an instance of SLBorder with theme information.
An SLBorder with theme information.
Creates an instance of SLRstType with theme information.
An SLRstType with theme information.
Creates an instance of SLStyle with theme information.
An SLStyle with theme information.
Creates an instance of SLComment with theme information.
An SLComment with theme information.
Creates an instance of SLDataValidation.
The cell reference, such as "A1".
An SLDataValidation.
Creates an instance of SLDataValidation.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
An SLDataValidation.
Creates an instance of SLDataValidation.
The row index.
The column index.
An SLDataValidation.
Creates an instance of SLDataValidation.
The row index of the start row.
The column index of the start column.
The row index of the end row.
The column index of the end column.
An SLDataValidation.
Creates an instance of SLTable, given cell references of opposite cells in a cell range.
The cell reference of the start cell of the cell range to be in the table, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the table, such as "A1". This is typically the bottom-right cell.
An SLTable with the required information.
Creates an instance of SLTable, given row and column indices of opposite cells in a cell range.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
An SLTable with the required information.
Creates an instance of SLSparklineGroup, given cell references of opposite cells in a cell range.
The cell reference of the start cell of the cell range to be in the sparkline, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the sparkline, such as "A1". This is typically the bottom-right cell.
An SLSparklineGroup with the required information.
Creates an instance of SLSparklineGroup, given cell references of opposite cells in a cell range.
The name of the source worksheet.
The cell reference of the start cell of the cell range to be in the sparkline, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the sparkline, such as "A1". This is typically the bottom-right cell.
An SLSparklineGroup with the required information.
Creates an instance of SLSparklineGroup, given row and column indices of opposite cells in a cell range.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
An SLSparklineGroup with the required information.
Creates an instance of SLSparklineGroup, given row and column indices of opposite cells in a cell range.
The name of the source worksheet.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
An SLSparklineGroup with the required information.
Creates an instance of SLChart, given cell references of opposite cells in a cell range.
The cell reference of the start cell of the cell range to be in the chart, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the chart, such as "A1". This is typically the bottom-right cell.
An SLChart with the required information.
Obsolete. Creates an instance of SLChart, given cell references of opposite cells in a cell range and whether rows or columns contain the data series and if hidden data is used.
The cell reference of the start cell of the cell range to be in the chart, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the chart, such as "A1". This is typically the bottom-right cell.
True if rows contain the data series. False if columns contain the data series.
True if hidden data is used in the chart. False otherwise.
An SLChart with the required information.
Creates an instance of SLChart, given cell references of opposite cells in a cell range.
The cell reference of the start cell of the cell range to be in the chart, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the chart, such as "A1". This is typically the bottom-right cell.
Chart creation options.
An SLChart with the required information.
Creates an instance of SLChart, given cell references of opposite cells in a cell range.
The name of the source worksheet.
The cell reference of the start cell of the cell range to be in the chart, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the chart, such as "A1". This is typically the bottom-right cell.
An SLChart with the required information.
Obsolete. Creates an instance of SLChart, given cell references of opposite cells in a cell range and whether rows or columns contain the data series.
The name of the source worksheet.
The cell reference of the start cell of the cell range to be in the chart, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the chart, such as "A1". This is typically the bottom-right cell.
True if rows contain the data series. False if columns contain the data series.
True if hidden data is used in the chart. False otherwise.
An SLChart with the required information.
Creates an instance of SLChart, given cell references of opposite cells in a cell range.
The name of the source worksheet.
The cell reference of the start cell of the cell range to be in the chart, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be in the chart, such as "A1". This is typically the bottom-right cell.
Chart creation options.
An SLChart with the required information.
Creates an instance of SLChart, given row and column indices of opposite cells in a cell range.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
An SLChart with the required information.
Obsolete. Creates an instance of SLChart, given row and column indices of opposite cells in a cell range and whether rows or columns contain the data series and if hidden data is used.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
True if rows contain the data series. False if columns contain the data series.
True if hidden data is used in the chart. False otherwise.
An SLChart with the required information.
Creates an instance of SLChart, given row and column indices of opposite cells in a cell range.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
Chart creation options.
An SLChart with the required information.
Creates an instance of SLChart, given row and column indices of opposite cells in a cell range.
The name of the source worksheet.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
An SLChart with the required information.
Obsolete. Creates an instance of SLChart, given row and column indices of opposite cells in a cell range and whether rows or columns contain the data series and if hidden data is used.
The name of the source worksheet.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
True if rows contain the data series. False if columns contain the data series.
True if hidden data is used in the chart. False otherwise.
An SLChart with the required information.
Creates an instance of SLChart, given row and column indices of opposite cells in a cell range.
The name of the source worksheet.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
Chart creation options.
An SLChart with the required information.
Import a text file as a data source, with the first data row and first data column at a specific cell.
The file name.
The anchor cell reference, such as "A1".
Import a text file as a data source, with the first data row and first data column at a specific cell.
The file name.
The anchor cell reference, such as "A1".
Text import options.
Import a text file as a data source, with the first data row and first data column at a specific cell.
The file name.
The row index of the anchor cell.
The column index of the anchor cell.
Import a text file as a data source, with the first data row and first data column at a specific cell.
The file name.
The row index of the anchor cell.
The column index of the anchor cell.
Text import options.
Import a System.Data.DataTable as a data source, with the first data row and first data column at a specific cell.
The cell reference, such as "A1".
The data table.
True if the data table's column names are to be used in the first row as a header row. False otherwise.
Import a System.Data.DataTable as a data source, with the first data row and first data column at a specific cell.
The row index.
The column index.
The data table.
True if the data table's column names are to be used in the first row as a header row. False otherwise.
Create a new spreadsheet with a worksheet with the default sheet name.
Create a new spreadsheet with a selected theme of fonts and colors.
The selected theme.
Create a new spreadsheet with a custom theme.
Custom theme settings.
Open an existing spreadsheet, with the first available worksheet loaded.
Note that the first available worksheet may not be visible, nor in the order you think it is.
The file name of the existing spreadsheet.
Open an existing spreadsheet, with the desired worksheet ready for use.
This optimizes loading so the desired worksheet's contents are loaded directly instead of first loading the first available worksheet.
Note that if the given sheet name doesn't exist, the first available worksheet is loaded.
The file name of the existing spreadsheet.
The sheet name of desired worksheet on opening the spreadsheet.
Open an existing spreadsheet from a Stream, with the first available worksheet loaded.
Note that the first available worksheet may not be visible, nor in the order you think it is.
Stream containing spreadsheet content.
Open an existing spreadsheet from a Stream, with the desired worksheet ready for use.
This optimizes loading so the desired worksheet's contents are loaded directly instead of first loading the first available worksheet.
Note that if the given sheet name doesn't exist, the first available worksheet is loaded.
Stream containing spreadsheet content.
The sheet name of desired worksheet on opening the spreadsheet.
Make sure to call this only after all worksheets are done! But before writing the workbook!
Saves the spreadsheet. If it's a newly created spreadsheet, the default blank file name is used. If it's an existing spreadsheet, the given file name is used. WARNING: The existing spreadsheet will be overwritten without prompts.
NOTE: This is a terminal method, meaning all internal memory stores will be nulled, cleared and nuked after executing this method. If you want some data, get it before this.
Saves the spreadsheet to a given file name.
NOTE: This is a terminal method, meaning all internal memory stores will be nulled, cleared and nuked after executing this method. If you want some data, get it before this.
The file name of the spreadsheet to be saved to.
Saves the spreadsheet to a stream.
NOTE: This is a terminal method, meaning all internal memory stores will be nulled, cleared and nuked after executing this method. If you want some data, get it before this.
The output stream.
Close the spreadsheet without saving.
NOTE: This is a terminal method, meaning all internal memory stores will be nulled, cleared and nuked after executing this method. If you want some data, get it before this.
Releases all resources.
Sort data by column.
The cell reference of the start cell of the cell range to be sorted, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be sorted, such as "A1". This is typically the bottom-right cell.
The column name of the column to be sorted by, such as "AA".
True to sort in ascending order. False to sort in descending order.
Sort data by row.
The cell reference of the start cell of the cell range to be sorted, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be sorted, such as "A1". This is typically the bottom-right cell.
The row index of the row to be sorted by.
True to sort in ascending order. False to sort in descending order.
Sort data by column.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
The column index of the column to be sorted by.
True to sort in ascending order. False to sort in descending order.
Sort data either by column or row.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
True to sort by column. False to sort by row.
The row or column index of the row or column to be sorted by, depending on
True to sort in ascending order. False to sort in descending order.
Obsolete. Get the column name given the column index.
The column index.
The column name.
Obsolete. Get the column index given a cell reference or column name.
A cell reference such as "A1" or column name such as "A". If the input is invalid, then -1 is returned.
The column index.
Obsolete. Get the cell reference given the row index and column index.
The row index.
The column index.
The cell reference.
Get the row and column indices given a cell reference such as "C5". A return value indicates whether the conversion succeeded.
The cell reference in A1 format, such as "C5".
When this method returns, this contains the row index of the given cell reference if the conversion succeeded.
When this method returns, this contains the column index of the given cell reference if the conversion succeeded.
True if the conversion succeeded. False otherwise.
Get the width of the specified column.
The unit of the width to be returned.
The column name, such as "A".
The width in the specified unit type.
Get the width of the specified columns.
The unit of the width to be returned.
The column name of the start column.
The column name of the end column.
The width in the specified unit type.
Get the width of the specified column.
The unit of the width to be returned.
The column index.
The width in the specified unit type.
Get the width of the specified columns.
The unit of the width to be returned.
The column index of the start column.
The column index of the end column.
The width in the specified unit type.
Get the height of the specified row.
The unit of the height to be returned.
The row index.
The height in the specified unit type.
Get the height of specified rows.
The unit of the height to be returned.
The row index of the start row.
The row index of the end row.
The height in the specified unit type.
Indicates if there's an existing defined name given a name.
Name of defined name to check.
True if the defined name exists. False otherwise.
Set a given defined name. If it doesn't exist, a new defined name is created. If it exists, then the existing defined name is overwritten.
Name of defined name. Note that it cannot be a valid cell reference such as A1. It also cannot start with "_xlnm" because it's reserved.
The reference/content text of the defined name. For example, Sheet1!$A$1:$C$3
True if the given defined name is created or an existing defined name is overwritten. False otherwise.
Set a given defined name. If it doesn't exist, a new defined name is created. If it exists, then the existing defined name is overwritten.
Name of defined name. Note that it cannot be a valid cell reference such as A1. It also cannot start with "_xlnm" because it's reserved.
The reference/content text of the defined name. For example, Sheet1!$A$1:$C$3
Comment for the defined name.
True if the given defined name is created or an existing defined name is overwritten. False otherwise.
Set a given defined name. If it doesn't exist, a new defined name is created. If it exists, then the existing defined name is overwritten.
Name of defined name. Note that it cannot be a valid cell reference such as A1. It also cannot start with "_xlnm" because it's reserved.
The reference/content text of the defined name. For example, Sheet1!$A$1:$C$3
Comment for the defined name.
The name of the worksheet that the defined name is effective in.
True if the given defined name is created or an existing defined name is overwritten. False otherwise.
Get reference/content text of existing defined name.
Name of existing defined name.
Reference/content text of defined name. An empty string is returned if the given defined name doesn't exist.
Get the comment of existing defined name.
Name of existing defined name.
The comment of the defined name. An empty string is returned if the given defined name doesn't exist, or there's no comment.
Delete a defined name if it exists.
Name of defined name.
True if specified name is deleted. False otherwise.
Get a list of existing defined names.
A list of defined names.
Get a list of existing defined names, filtered by whether the defined name is a reserved name or not.
True to include reserved names. False otherwise. A reserved name starts with "_xlnm".
A list of defined names.
Set the print area on the currently selected worksheet given a corner cell of the print area and the opposite corner cell.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
Set the print area on the currently selected worksheet given a corner cell of the print area and the opposite corner cell.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
Adds a print area to the existing print area on the currently selected worksheet given a corner cell of the print area and the opposite corner cell.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
Adds a print area to the existing print area on the currently selected worksheet given a corner cell of the print area and the opposite corner cell.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
Clears existing print areas on the currently selected worksheet.
Insert a hyperlink.
The cell reference, such as "A1".
The type of hyperlink.
The URL for web pages, the file path for existing files, a cell reference (such as Sheet1!A1 or Sheet1!A1:B5), a defined name or an email address. NOTE: Do NOT include the "mailto:" portion for email addresses.
True if successful. False otherwise.
Insert a hyperlink.
The cell reference, such as "A1".
The type of hyperlink.
The URL for web pages, the file path for existing files, a cell reference (such as Sheet1!A1 or Sheet1!A1:B5), a defined name or an email address. NOTE: Do NOT include the "mailto:" portion for email addresses.
True to overwrite the existing cell value with the hyperlink display text. False otherwise.
True if successful. False otherwise.
Insert a hyperlink.
The cell reference, such as "A1".
The type of hyperlink.
The URL for web pages, the file path for existing files, a cell reference (such as Sheet1!A1 or Sheet1!A1:B5), a defined name or an email address. NOTE: Do NOT include the "mailto:" portion for email addresses.
The display text. Set null or an empty string to use the default.
The tooltip (or screentip) text. Set null or an empty string to ignore this.
True if successful. False otherwise.
Insert a hyperlink.
The cell reference, such as "A1".
The type of hyperlink.
The URL for web pages, the file path for existing files, a cell reference (such as Sheet1!A1 or Sheet1!A1:B5), a defined name or an email address. NOTE: Do NOT include the "mailto:" portion for email addresses.
The display text. Set null or an empty string to use the default.
The tooltip (or screentip) text. Set null or an empty string to ignore this.
True to overwrite the existing cell value with the hyperlink display text. False otherwise.
True if successful. False otherwise.
Insert a hyperlink.
The row index.
The column index.
The type of hyperlink.
The URL for web pages, the file path for existing files, a cell reference (such as Sheet1!A1 or Sheet1!A1:B5), a defined name or an email address. NOTE: Do NOT include the "mailto:" portion for email addresses.
True if successful. False otherwise.
Insert a hyperlink.
The row index.
The column index.
The type of hyperlink.
The URL for web pages, the file path for existing files, a cell reference (such as Sheet1!A1 or Sheet1!A1:B5), a defined name or an email address. NOTE: Do NOT include the "mailto:" portion for email addresses.
True to overwrite the existing cell value with the hyperlink display text. False otherwise.
True if successful. False otherwise.
Insert a hyperlink.
The row index.
The column index.
The type of hyperlink.
The URL for web pages, the file path for existing files, a cell reference (such as Sheet1!A1 or Sheet1!A1:B5), a defined name or an email address. NOTE: Do NOT include the "mailto:" portion for email addresses.
The display text. Set null or an empty string to use the default.
The tooltip (or screentip) text. Set null or an empty string to ignore this.
True if successful. False otherwise.
Insert a hyperlink.
The row index.
The column index.
The type of hyperlink.
The URL for web pages, the file path for existing files, a cell reference (such as Sheet1!A1 or Sheet1!A1:B5), a defined name or an email address. NOTE: Do NOT include the "mailto:" portion for email addresses.
The display text. Set null or an empty string to use the default.
The tooltip (or screentip) text. Set null or an empty string to ignore this.
True to overwrite the existing cell value with the hyperlink display text. False otherwise.
True if successful. False otherwise.
Remove an existing hyperlink.
The cell reference, such as "A1".
Remove an existing hyperlink.
The row index.
The column index.
Refresh pivot table data on load or open of spreadsheet. This applies to all pivot tables on the currently selected worksheet.
Get existing comments in the currently selected worksheet. WARNING: This is only a snapshot. Any changes made to the returned result are not used.
A Dictionary of existing comments.
Insert comment given the cell reference of the cell it's based on. This will overwrite any existing comment.
The cell reference, such as "A1".
The cell comment.
False if the cell reference is invalid. True otherwise.
Insert comment given the row index and column index of the cell it's based on. This will overwrite any existing comment.
The row index.
The column index.
The cell comment.
False if either the row index or column index (or both) are invalid. True otherwise.
Get a list of existing styles. WARNING: This is only a snapshot. Any changes made to the returned result are not used.
A list of existing SLStyle objects.
Get the cell's style. The default style is returned if cell doesn't have an existing style, or if the cell reference is invalid.
The cell reference, such as "A1".
The cell's style.
Get the cell's style. The default style is returned if cell doesn't have an existing style, or if the row or column indices are invalid.
The row index.
The column index.
The cell's style.
Set the cell's style.
The cell reference, such as "A1".
The style to set.
True if successful. False otherwise.
Set the cell's style.
The row index.
The column index.
The style to set.
True if successful. False otherwise.
Set the style of a range of cells.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The style to set.
True if successful. False otherwise.
Set the style of a range of cells.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The style to set.
True if successful. False otherwise.
Remove the style from a cell.
The cell reference, such as "A1".
Remove the style from a range of cells.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
Remove the style from a cell.
The row index.
The column index.
Remove the style from a range of cells.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
Apply a named cell style to a cell. Existing styles are kept, unless the chosen named cell style overrides those styles.
The cell reference, such as "A1".
The named cell style to be applied.
True if successful. False otherwise.
Apply a named cell style to a cell. Existing styles are kept, unless the chosen named cell style overrides those styles.
The row index.
The column index.
The named cell style to be applied.
True if successful. False otherwise.
Apply a named cell style to a range of cells. Existing styles are kept, unless the chosen named cell style overrides those styles.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The named cell style to be applied.
True if successful. False otherwise.
Apply a named cell style to a range of cells. Existing styles are kept, unless the chosen named cell style overrides those styles.
The row index of the starting row.
The column index of the starting column.
The row index of the ending row.
The column index of the ending column.
The named cell style to be applied.
True if successful. False otherwise.
Apply a named cell style to a row. Existing styles are kept, unless the chosen named cell style overrides those styles.
The row index.
The named cell style to be applied.
True if the row index is valid. False otherwise.
Apply a named cell style to a range of rows. Existing styles are kept, unless the chosen named cell style overrides those styles.
The row index of the starting row.
The row index of the ending row.
The named cell style to be applied.
True if the row indices are valid. False otherwise.
Apply a named cell style to a column. Existing styles are kept, unless the chosen named cell style overrides those styles.
The column index.
The named cell style to be applied.
True if the column index is valid. False otherwise.
Apply a named cell style to a range of columns. Existing styles are kept, unless the chosen named cell style overrides those styles.
The column index of the starting column.
The column index of the ending column.
The named cell style to be applied.
True if the column indices are valid. False otherwise.
Get the style of the row. If the row doesn't have an existing style, the default style is returned.
The row index.
The row style.
Set the row style.
The row index.
The style for the row.
True if the row index is valid. False otherwise.
Set the row style for a range of rows.
The row index of the starting row.
The row index of the ending row.
The style for the rows.
True if the row indices are valid. False otherwise.
Draw border grid.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The border style. Default is none.
Draw border grid.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The border style. Default is none.
The border color.
Draw border grid.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The border style. Default is none.
The border theme color.
Draw border grid.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The border style. Default is none.
The border theme color.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Draw border grid.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The SLBorder object with border style properties.
Draw border grid.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The border style. Default is none.
Draw border grid.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The border style. Default is none.
The border color.
Draw border grid.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The border style. Default is none.
The border theme color.
Draw border grid.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The border style. Default is none.
The border theme color.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Draw border grid.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The SLBorder object with border style properties.
Draw border.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The border style. Default is none.
Draw border.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The border style. Default is none.
The border color.
Draw border.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The border style. Default is none.
The border theme color.
Draw border.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The border style. Default is none.
The border theme color.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Draw border.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The SLBorder object with border style properties.
Draw border.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The border style. Default is none.
Draw border.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The border style. Default is none.
The border color.
Draw border.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The border style. Default is none.
The border theme color.
Draw border.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The border style. Default is none.
The border theme color.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Draw border.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The SLBorder object with border style properties.
Remove any existing row style.
The row index.
Remove any existing row style for a range of rows.
The row index of the starting row.
The row index of the ending row.
Get the style of the column. If the column doesn't have an existing style, the default style is returned.
The column index.
The column style.
Set the column style.
The column index.
The style for the column.
True if the column index is valid. False otherwise.
Set the column style for a range of rows.
The column index of the starting column.
The column index of the ending column.
The style for the columns.
True if the column indices are valid. False otherwise.
Remove any existing column style.
The column index.
Remove any existing column style for a range of columns.
The column index of the starting column.
The column index of the ending column.
Copy the style of one cell to another cell.
The cell reference of the cell whose style is copied from.
The cell reference of the cell whose style is copied to.
True if successful. False otherwise.
Copy the style of one cell to a range of cells.
The cell reference of the cell whose style is copied from.
The start cell reference of the cell range. This is typically the top-left cell.
The end cell reference of the cell range. This is typically the bottom-right cell.
True if successful. False otherwise.
Copy the style of one cell to another cell.
The row index of the cell to be copied from.
The column index of the cell to be copied from.
The row index of the cell to be copied to.
The column index of the cell to be copied to.
True if successful. False otherwise.
Copy the style of one cell to a range of cells.
The row index of the cell to be copied from.
The column index of the cell to be copied from.
The row index of the starting cell of the cell range. This is typically the top-left cell.
The column index of the starting cell of the cell range. This is typically the top-left cell.
The row index of the ending cell of the cell range. This is typically the bottom-right cell.
The column index of the ending cell of the cell range. This is typically the bottom-right cell.
True if successful. False otherwise.
Copy the style of one row to another row.
The row index of the row to be copied from.
The row index of the row to be copied to.
True if successful. False otherwise.
Copy the style of one row to a range of rows.
The row index of the row to be copied from.
The row index of the start row of the row range. This is typically the top row.
The row index of the end row of the row range. This is typically the bottom row.
True if successful. False otherwise.
Copy the style of one column to another column.
The column index of the column to be copied from.
The column index of the column to be copied to.
True if successful. False otherwise.
Copy the style of one column to a range of columns.
The column index of the column to be copied from.
The column index of the start column of the column range. This is typically the left-most column.
The column index of the end column of the column range. This is typically the right-most column.
True if successful. False otherwise.
Get existing shared strings. WARNING: This is only a snapshot. Any changes made to the returned result are not used.
A list of existing shared strings.
Get existing shared strings in a list of SharedStringItem objects. WARNING: This is only a snapshot. Any changes made to the returned result are not used.
A list of existing SharedStringItem objects.
Get the spreadsheet's theme settings.
An SLThemeSettings object with the spreadsheet's theme settings.
Adds a new worksheet, and selects the new worksheet as the active one.
The name should not be blank, nor exceed 31 characters. And it cannot contain these characters: \/?*[] It cannot be the same as an existing name (case-insensitive). But there's nothing stopping you from using 3 spaces as a name.
True if the name is valid and the worksheet is successfully added. False otherwise.
Select an existing worksheet. If the given name doesn't match an existing worksheet, the previously selected worksheet is used.
The name of an existing worksheet.
True if there's an existing worksheet with that name and that worksheet is successfully selected. False otherwise.
Show the worksheet (a.k.a unhide worksheet). This includes chart sheets, dialog sheets and macro sheets.
The name of the worksheet.
Hide the worksheet. This includes chart sheets, dialog sheets and macro sheets.
The name of the worksheet.
Hide the worksheet. This includes chart sheets, dialog sheets and macro sheets.
The name of the worksheet.
True to set the worksheet as very hidden. False otherwise.
Indicates if the worksheet is hidden. Note that if the worksheet name isn't of an existing worksheet, the return value is true. Think of a non-existent worksheet as very very hidden, like hidden in another dimension or something.
The name of the worksheet.
True if the worksheet is hidden. False otherwise.
Rename an existing worksheet. This includes chart sheets, dialog sheets and macro sheets.
The name of the existing worksheet.
The new name for the existing worksheet. The name should not be blank, nor exceed 31 characters. And it cannot contain these characters: \/?*[] It cannot be the same as an existing name (case-insensitive).
True if renaming is successful. False otherwise.
Copy the contents of a worksheet to another worksheet. The current worksheet cannot be the source of the copy operation, nor the destination of the copy operation.
The worksheet to be copied from. This cannot be the current worksheet.
The worksheet to be copied to. If this doesn't exist, a new worksheet is created. If it's an existing worksheet, the contents of the existing worksheet will be overwritten. The new worksheet cannot be the currently selected worksheet.
True if copying is successful. False otherwise
Delete a worksheet. The currently selected worksheet cannot be deleted.
The name of the worksheet to be deleted.
True if successful. False otherwise.
Get the worksheet name of the currently selected worksheet.
The currently selected worksheet name.
Get a list of names of existing worksheets currently in the spreadsheet, excluding chart sheets, macro sheets and dialog sheets.
This is identical to GetSheetNames() but is more appropriately named.
A list of names of existing worksheets.
Get a list of names of existing worksheets currently in the spreadsheet, excluding chart sheets, macro sheets and dialog sheets.
This is identical to GetWorksheetNames() but is kept to maintain function overload consistency with the IncludeAll parameter version.
A list of names of existing worksheets.
Get a list of names of existing sheets currently in the spreadsheet.
True to include chart sheets, macro sheets and dialog sheets. False to limit to only worksheets.
A list of names of existing sheets.
Get statistical information on the currently selected worksheet. NOTE: The information is only current at point of retrieval.
An SLWorksheetStatistics object with the information.
Move a worksheet to a new position in the spreadsheet.
The name of the worksheet.
The new 1-based position index. Use 1 for 1st position, 2 for 2nd position and so on.
True if an actual move was done (this excludes when the given worksheet is already in the given position). False otherwise.
Set the default row height for the currently selected worksheet.
The row height in points.
Set the default column width for the currently selected worksheet.
The column width.
Freeze panes in the worksheet (for the first workbook view). Will do nothing if both parameters are zero (because there's nothing to freeze). Will also do nothing if either of the parameters is equal to their respective limits (maximum number of rows, or maximum number of columns).
Number of top-most rows to keep in place.
Number of left-most columns to keep in place.
Unfreeze the frozen panes in the worksheet (for the first workbook view).
Split panes in the worksheet (for the first workbook view). Will do nothing if both number of rows and number of columns are zero (because there's nothing to split). Will also do nothing if either is equal to their respective limits (maximum number of rows, or maximum number of columns).
Number of top-most rows above the horizontal split line.
Number of left-most columns left of the vertical split line.
True if the row and column headings are shown. False otherwise.
Split panes in the worksheet (for the first workbook view). Will do nothing if both number of rows and number of columns are zero (because there's nothing to split). Will also do nothing if either is equal to their respective limits (maximum number of rows, or maximum number of columns).
Number of top-most rows above the horizontal split line.
Number of left-most columns left of the vertical split line.
True if the row and column headings are shown. False otherwise.
This is more useful when row and column headings are shown. This will be the height of the column heading in points.
This is more useful when row and column headings are shown. This will be the width of the row heading in points.
Split panes in the worksheet (for the first workbook view). Will do nothing if both number of rows and number of columns are zero (because there's nothing to split). Will also do nothing if either is equal to their respective limits (maximum number of rows, or maximum number of columns).
The underlying engine tries to guess the individual row heights and column widths. Then the horizontal and vertical split lines are placed based on the guesses.
Forcing the row and column dimensions to fit the split lines might mean the worksheet looking oddly sized.
Number of top-most rows above the horizontal split line.
Number of left-most columns left of the vertical split line.
True if the row and column headings are shown. False otherwise.
This is more useful when row and column headings are shown. This will be the height of the column heading in points.
This is more useful when row and column headings are shown. This will be the width of the row heading in points.
Set true to force the worksheet's row height and column width to fit the given horizontal and vertical splits. False otherwise.
Unsplit the split panes in the worksheet (for the first workbook view).
Add a background picture to the currently selected worksheet given the file name of a picture.
If there's an existing background picture, that will be deleted first.
The file name of a picture to be used.
Add a background picture to the currently selected worksheet given a picture's data in a byte array.
If there's an existing background picture, that will be deleted first.
The picture's data in a byte array.
The image type of the picture.
Delete the background picture of the currently selected worksheet.
Insert a picture into the currently selected worksheet.
An SLPicture object with the picture's properties already set.
True if the picture is successfully inserted. False otherwise.
Insert a sparkline group into the currently selected worksheet. If unsuccessful, please check that your sparkline location is correctly set. See SetLocation() for details.
An SLSparklineGroup object with the properties already set.
True if successful. False otherwise.
Clear all sparkline groups in the currently selected worksheet.
Insert a chart into the currently selected worksheet.
An SLChart object with the chart's properties already set.
True if successful. False otherwise.
Insert a chart into a chartsheet.
An SLChart object with the chart's properties already set.
The name should not be blank, nor exceed 31 characters. And it cannot contain these characters: \/?*[] It cannot be the same as an existing name (case-insensitive). But there's nothing stopping you from using 3 spaces as a name.
True if successful. False otherwise.
Adds conditional formatting into the currently selected worksheet.
An SLConditionalFormatting object with the formatting rules already set. Remember to set at least one formatting rule (a data bar, color scale, icon set or some custom rule).
True if successfully added. False otherwise.
Clear all conditional formatting from the currently selected worksheet.
Adds data validation into the currently selected worksheet.
An SLDataValidation with desired settings.
True if successful. False otherwise. Failure is probably due to overlapping data validation regions.
Clear all data validations from the currently selected worksheet.
Insert a table into the currently selected worksheet.
An SLTable object with the properties already set.
True if the table is successfully inserted. False otherwise. If it failed, check if the given table overlaps any existing tables or merged cell range.
Get the page settings of the currently selected worksheet.
An SLPageSettings object with the page settings of the currently selected worksheet.
Get the page settings of sheet.
The name of the sheet.
An SLPageSettings object with the page settings of the specified sheet.
Set page settings to the currently selected worksheet.
An SLPageSettings object with the properties already set.
Set page settings to a sheet.
An SLPageSettings object with the properties already set.
The name of the sheet.
Insert a page break above a given row index and to the left of a given column index.
The row index. Use a negative value to ignore row breaks (-1 works fine).
The column index. Use a negative value to ignore column breaks (-1 works fine).
Remove all page breaks from the currently selected worksheet.
Remove a page break above a given row index and to the left of a given column index.
The row index. Use a negative value to ignore row breaks (-1 works fine).
The column index. Use a negative value to ignore column breaks (-1 works fine).
Protect the currently selected worksheet. If the worksheet has protection (but not password protected), the current protection options will be overwritten.
An SLSheetProtection object with relevant options set.
True if operation is successful. False otherwise. Note that if the worksheet already has password protection, false is also returned.
Unprotect the currently selected worksheet.
True if operation is successful. False otherwise. Note that if the worksheet is password protected or if the worksheet has no sheet protection in the first place, false is also returned.
This cleans up all the SLCell objects with default values.
This can happen if an SLCell was assigned with say a style but no value.
Then subsequently, the style is removed (set to default), thus the cell is empty.
This is mostly used when SetCellValueAs*()
The row index to check with base cell row index.
The column index to check with base cell column index.
Get existing cells in the currently selected worksheet. WARNING: This is only a snapshot. Any changes made to the returned result are not used.
A Dictionary of existing cells.
Indicates if the cell value exists.
The cell reference, such as "A1".
True if it exists. False otherwise.
Indicates if the cell value exists.
The row index.
The column index.
True if it exists. False otherwise.
Indicates if the cell value exists.
The cell reference, such as "A1".
True if having a cell formula counts as well. False otherwise.
True if it exists. False otherwise.
Indicates if the cell value exists.
The row index.
The column index.
True if having a cell formula counts as well. False otherwise.
True if it exists. False otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data.
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data.
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. If you plan to store a percentage value, set this as the value divided by 100. For example, to store 2.78%, set this value as 0.0278. Remember to set the cell style format code (say "0.00%")!
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference and a numeric value in string form. Use this when the source data is numeric and is already in string form and parsing the data into numeric form is undesirable. Note that the numeric string must be in invariant-culture mode, so "123456.789" is the accepted form even if the current culture displays that as "123456,789".
The cell reference, such as "A1".
The cell value data.
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index and a numeric value in string form. Use this when the source data is numeric and is already in string form and parsing the data into numeric form is undesirable. Note that the numeric string must be in invariant-culture mode, so "123456.789" is the accepted form even if the current culture displays that as "123456,789".
The row index.
The column index.
The cell value data.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference. Be sure to follow up with a date format style.
The cell reference, such as "A1".
The cell value data.
False if the cell reference is invalid. True otherwise.
Set the cell value given a cell reference. Be sure to follow up with a date format style.
The cell reference, such as "A1".
The cell value data.
True if using 1 Jan 1904 as the date epoch. False if using 1 Jan 1900 as the date epoch. This is independent of the workbook's Date1904 property.
False if the cell reference is invalid. True otherwise.
Set the cell value given a cell reference. Be sure to follow up with a date format style.
The cell reference, such as "A1".
The cell value data.
The format string used if the given date is before the date epoch. A date before the date epoch is stored as a string, so the date precision is only as good as the format string. For example, "dd/MM/yyyy HH:mm:ss" is more precise than "dd/MM/yyyy" because the latter loses information about the hours, minutes and seconds.
False if the cell reference is invalid. True otherwise.
Set the cell value given a cell reference. Be sure to follow up with a date format style.
The cell reference, such as "A1".
The cell value data.
The format string used if the given date is before the date epoch. A date before the date epoch is stored as a string, so the date precision is only as good as the format string. For example, "dd/MM/yyyy HH:mm:ss" is more precise than "dd/MM/yyyy" because the latter loses information about the hours, minutes and seconds.
True if using 1 Jan 1904 as the date epoch. False if using 1 Jan 1900 as the date epoch. This is independent of the workbook's Date1904 property.
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index. Be sure to follow up with a date format style.
The row index.
The column index.
The cell value data.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given the row index and column index. Be sure to follow up with a date format style.
The row index.
The column index.
The cell value data.
True if using 1 Jan 1904 as the date epoch. False if using 1 Jan 1900 as the date epoch. This is independent of the workbook's Date1904 property.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given the row index and column index. Be sure to follow up with a date format style.
The row index.
The column index.
The cell value data.
The format string used if the given date is before the date epoch. A date before the date epoch is stored as a string, so the date precision is only as good as the format string. For example, "dd/MM/yyyy HH:mm:ss" is more precise than "dd/MM/yyyy" because the latter loses information about the hours, minutes and seconds.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given the row index and column index. Be sure to follow up with a date format style.
The row index.
The column index.
The cell value data.
The format string used if the given date is before the date epoch. A date before the date epoch is stored as a string, so the date precision is only as good as the format string. For example, "dd/MM/yyyy HH:mm:ss" is more precise than "dd/MM/yyyy" because the latter loses information about the hours, minutes and seconds.
True if using 1 Jan 1904 as the date epoch. False if using 1 Jan 1900 as the date epoch. This is independent of the workbook's Date1904 property.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data in rich text.
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data in rich text.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data. Try the SLRstType class for easy InlineString generation.
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data. Try the SLRstType class for easy InlineString generation.
False if either the row index or column index (or both) are invalid. True otherwise.
Set the cell value given a cell reference.
The cell reference, such as "A1".
The cell value data.
False if the cell reference is invalid. True otherwise.
Set the cell value given the row index and column index.
The row index.
The column index.
The cell value data.
False if either the row index or column index (or both) are invalid. True otherwise.
Get the cell value as a boolean. If the cell value wasn't originally a boolean value, the return value is undetermined (but is by default false).
The cell reference, such as "A1".
A boolean cell value.
Get the cell value as a boolean. If the cell value wasn't originally a boolean value, the return value is undetermined (but is by default false).
The cell reference, such as "A1".
Set true to force any cell value that looks like a boolean to be returned as a boolean. This means text stored as "1" or "TRUE" will also be considered a boolean true. Set to false to only consider true (haha pun!) booleans. The default is false.
A boolean cell value.
Get the cell value as a boolean. If the cell value wasn't originally a boolean value, the return value is undetermined (but is by default false).
The row index.
The column index.
A boolean cell value.
Get the cell value as a boolean. If the cell value wasn't originally a boolean value, the return value is undetermined (but is by default false).
The row index.
The column index.
Set true to force any cell value that looks like a boolean to be returned as a boolean. This means text stored as "1" or "TRUE" will also be considered a boolean true. Set to false to only consider true (haha pun!) booleans. The default is false.
A boolean cell value.
Get the cell value as a 32-bit integer. If the cell value wasn't originally an integer, the return value is undetermined (but is by default 0).
The cell reference, such as "A1".
A 32-bit integer cell value.
Get the cell value as a 32-bit integer. If the cell value wasn't originally an integer, the return value is undetermined (but is by default 0).
The row index.
The column index.
A 32-bit integer cell value.
Get the cell value as an unsigned 32-bit integer. If the cell value wasn't originally an integer, the return value is undetermined (but is by default 0).
The cell reference, such as "A1".
An unsigned 32-bit integer cell value.
Get the cell value as an unsigned 32-bit integer. If the cell value wasn't originally an integer, the return value is undetermined (but is by default 0).
The row index.
The column index.
An unsigned 32-bit integer cell value.
Get the cell value as a 64-bit integer. If the cell value wasn't originally an integer, the return value is undetermined (but is by default 0).
The cell reference, such as "A1".
A 64-bit integer cell value.
Get the cell value as a 64-bit integer. If the cell value wasn't originally an integer, the return value is undetermined (but is by default 0).
The row index.
The column index.
A 64-bit integer cell value.
Get the cell value as an unsigned 64-bit integer. If the cell value wasn't originally an integer, the return value is undetermined (but is by default 0).
The cell reference, such as "A1".
An unsigned 64-bit integer cell value.
Get the cell value as an unsigned 64-bit integer. If the cell value wasn't originally an integer, the return value is undetermined (but is by default 0).
The row index.
The column index.
An unsigned 64-bit integer cell value.
Get the cell value as a double precision floating point number. If the cell value wasn't originally a floating point number, the return value is undetermined (but is by default 0).
The cell reference, such as "A1".
A double precision floating point number cell value.
Get the cell value as a double precision floating point number. If the cell value wasn't originally a floating point number, the return value is undetermined (but is by default 0).
The row index.
The column index.
A double precision floating point number cell value.
Get the cell value as a System.Decimal value. If the cell value wasn't originally an integer or floating point number, the return value is undetermined (but is by default 0).
The cell reference, such as "A1".
A System.Decimal cell value.
Get the cell value as a System.Decimal value. If the cell value wasn't originally an integer or floating point number, the return value is undetermined (but is by default 0).
The row index.
The column index.
A System.Decimal cell value.
Get the cell value as a System.DateTime value. If the cell value wasn't originally a date/time value, the return value is undetermined.
The cell reference, such as "A1".
A System.DateTime cell value.
Get the cell value as a System.DateTime value. If the cell value wasn't originally a date/time value, the return value is undetermined.
The row index.
The column index.
A System.DateTime cell value.
Get the cell value as a System.DateTime value. If the cell value wasn't originally a date/time value, the return value is undetermined.
The cell reference, such as "A1".
True if using 1 Jan 1904 as the date epoch. False if using 1 Jan 1900 as the date epoch. This is independent of the workbook's Date1904 property.
A System.DateTime cell value.
Get the cell value as a System.DateTime value. If the cell value wasn't originally a date/time value, the return value is undetermined.
The row index.
The column index.
True if using 1 Jan 1904 as the date epoch. False if using 1 Jan 1900 as the date epoch. This is independent of the workbook's Date1904 property.
A System.DateTime cell value.
Get the cell value as a System.DateTime value. If the cell value wasn't originally a date/time value, the return value is undetermined.
The cell reference, such as "A1".
The format string used to parse the date value in the cell if the date is before the date epoch. A date before the date epoch is stored as a string, so the date precision is only as good as the format string. For example, "dd/MM/yyyy HH:mm:ss" is more precise than "dd/MM/yyyy" because the latter loses information about the hours, minutes and seconds.
A System.DateTime cell value.
Get the cell value as a System.DateTime value. If the cell value wasn't originally a date/time value, the return value is undetermined.
The row index.
The column index.
The format string used to parse the date value in the cell if the date is before the date epoch. A date before the date epoch is stored as a string, so the date precision is only as good as the format string. For example, "dd/MM/yyyy HH:mm:ss" is more precise than "dd/MM/yyyy" because the latter loses information about the hours, minutes and seconds.
A System.DateTime cell value.
Get the cell value as a System.DateTime value. If the cell value wasn't originally a date/time value, the return value is undetermined.
The cell reference, such as "A1".
The format string used to parse the date value in the cell if the date is before the date epoch. A date before the date epoch is stored as a string, so the date precision is only as good as the format string. For example, "dd/MM/yyyy HH:mm:ss" is more precise than "dd/MM/yyyy" because the latter loses information about the hours, minutes and seconds.
True if using 1 Jan 1904 as the date epoch. False if using 1 Jan 1900 as the date epoch. This is independent of the workbook's Date1904 property.
A System.DateTime cell value.
Get the cell value as a System.DateTime value. If the cell value wasn't originally a date/time value, the return value is undetermined.
The row index.
The column index.
The format string used to parse the date value in the cell if the date is before the date epoch. A date before the date epoch is stored as a string, so the date precision is only as good as the format string. For example, "dd/MM/yyyy HH:mm:ss" is more precise than "dd/MM/yyyy" because the latter loses information about the hours, minutes and seconds.
True if using 1 Jan 1904 as the date epoch. False if using 1 Jan 1900 as the date epoch. This is independent of the workbook's Date1904 property.
A System.DateTime cell value.
Get the cell value as a string.
The cell reference, such as "A1".
A string cell value.
Get the cell value as a string.
The row index.
The column index.
A string cell value.
Get the cell value as a rich text string (SLRstType).
The cell reference, such as "A1".
An SLRstType cell value.
Get the cell value as a rich text string (SLRstType).
The row index.
The column index.
An SLRstType cell value.
Set the active cell for the currently selected worksheet.
The cell reference, such as "A1".
True if successful. False otherwise.
Set the active cell for the currently selected worksheet.
The row index.
The column index.
True if successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
The border style. Default is none.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
The border style. Default is none.
The border color.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
The border style. Default is none.
The border theme color.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
The border style. Default is none.
The border theme color.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
The SLBorder object with border style properties.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Cell style and border style properties are only applied on a successful merge.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
The SLStyle object with style properties. Any border style properties set in this SLStyle object will be used.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
The border style. Default is none.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
The border style. Default is none.
The border color.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
The border style. Default is none.
The border theme color.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
The border style. Default is none.
The border theme color.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Border style properties are only applied on a successful merge.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
The SLBorder object with border style properties.
True if merging is successful. False otherwise.
Merge cells given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell. No merging is done if it's just one cell. Cell style and border style properties are only applied on a successful merge.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
The SLStyle object with style properties. Any border style properties set in this SLStyle object will be used.
True if merging is successful. False otherwise.
Unmerge cells given a corner cell of an existing merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
True if unmerging is successful. False otherwise.
Unmerge cells given a corner cell of an existing merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
True if unmerging is successful. False otherwise.
Get a list of the existing merged cells.
A list of the merged cells.
Filter data.
The cell reference of the corner cell, such as "A1".
The cell reference of the opposite corner cell, such as "A1".
True if successful. False otherwise.
Filter data.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
True if successful. False otherwise.
Removing any data filter.
Indicates if the currently selected worksheet has an existing filter.
True if there's an existing filter. False otherwise.
Copy one cell to another cell.
The cell reference of the cell to be copied from, such as "A1".
The cell reference of the cell to be copied to, such as "A1".
True if successful. False otherwise.
Copy one cell to another cell.
The cell reference of the cell to be copied from, such as "A1".
The cell reference of the cell to be copied to, such as "A1".
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Copy one cell to another cell.
The cell reference of the cell to be copied from, such as "A1".
The cell reference of the cell to be copied to, such as "A1".
Paste option.
True if successful. False otherwise.
Copy a range of cells to another range, given the anchor cell of the destination range (top-left cell).
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The cell reference of the anchor cell, such as "A1".
True if successful. False otherwise.
Copy a range of cells to another range, given the anchor cell of the destination range (top-left cell).
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The cell reference of the anchor cell, such as "A1".
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Copy a range of cells to another range, given the anchor cell of the destination range (top-left cell).
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The cell reference of the anchor cell, such as "A1".
Paste options.
True if successful. False otherwise.
Copy one cell to another cell.
The row index of the cell to be copied from.
The column index of the cell to be copied from.
The row index of the cell to be copied to.
The column index of the cell to be copied to.
True if successful. False otherwise.
Copy one cell to another cell.
The row index of the cell to be copied from.
The column index of the cell to be copied from.
The row index of the cell to be copied to.
The column index of the cell to be copied to.
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Copy one cell to another cell.
The row index of the cell to be copied from.
The column index of the cell to be copied from.
The row index of the cell to be copied to.
The column index of the cell to be copied to.
Paste option.
True if successful. False otherwise.
Copy a range of cells to another range, given the anchor cell of the destination range (top-left cell).
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The row index of the anchor cell.
The column index of the anchor cell.
True if successful. False otherwise.
Copy a range of cells to another range, given the anchor cell of the destination range (top-left cell).
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The row index of the anchor cell.
The column index of the anchor cell.
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Copy a range of cells to another range, given the anchor cell of the destination range (top-left cell).
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The row index of the anchor cell.
The column index of the anchor cell.
Paste option.
True if successful. False otherwise.
Copy one cell from another worksheet to the currently selected worksheet.
The name of the source worksheet.
The cell reference of the cell to be copied from, such as "A1".
The cell reference of the anchor cell, such as "A1".
True if successful. False otherwise.
Copy one cell from another worksheet to the currently selected worksheet.
The name of the source worksheet.
The cell reference of the cell to be copied from, such as "A1".
The cell reference of the anchor cell, such as "A1".
Paste option.
True if successful. False otherwise.
Copy a range of cells from another worksheet to the currently selected worksheet, given the anchor cell of the destination range (top-left cell).
The name of the source worksheet.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The cell reference of the anchor cell, such as "A1".
True if successful. False otherwise.
Copy a range of cells from another worksheet to the currently selected worksheet, given the anchor cell of the destination range (top-left cell).
The name of the source worksheet.
The cell reference of the start cell of the cell range, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range, such as "A1". This is typically the bottom-right cell.
The cell reference of the anchor cell, such as "A1".
Paste option.
True if successful. False otherwise.
Copy one cell from another worksheet to the currently selected worksheet.
The name of the source worksheet.
The row index of the cell to be copied from.
The column index of the cell to be copied from.
The row index of the anchor cell.
The column index of the anchor cell.
True if successful. False otherwise.
Copy one cell from another worksheet to the currently selected worksheet.
The name of the source worksheet.
The row index of the cell to be copied from.
The column index of the cell to be copied from.
The row index of the anchor cell.
The column index of the anchor cell.
Paste option.
True if successful. False otherwise.
Copy a range of cells from another worksheet to the currently selected worksheet, given the anchor cell of the destination range (top-left cell).
The name of the source worksheet.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The row index of the anchor cell.
The column index of the anchor cell.
True if successful. False otherwise.
Copy a range of cells from another worksheet to the currently selected worksheet, given the anchor cell of the destination range (top-left cell).
The name of the source worksheet.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The row index of the anchor cell.
The column index of the anchor cell.
Paste option.
True if successful. False otherwise.
Clear all cell content in the worksheet.
True if content has been cleared. False otherwise. If there are no content in the worksheet, false is also returned.
Clear all cell content within specified rows and columns. If the top-left cell of a merged cell is within specified rows and columns, the merged cell content is also cleared.
The cell reference of the start cell of the cell range to be cleared, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be cleared, such as "A1". This is typically the bottom-right cell.
True if content has been cleared. False otherwise. If there are no content within specified rows and columns, false is also returned.
Clear all cell content within specified rows and columns. If the top-left cell of a merged cell is within specified rows and columns, the merged cell content is also cleared.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
True if content has been cleared. False otherwise. If there are no content within specified rows and columns, false is also returned.
Get existing shared cell formulas in the current worksheet in a list of SLSharedCellFormula objects.
NOTE: Due to technical difficulties (read: a certain popular spreadsheet software's behaviour is confusing),
any copy/insert/delete of cells/rows/columns will flatten all shared cell formula into the respective cells.
WARNING: This is only a snapshot. Any changes made to the returned result are not used.
A list of existing shared cell formulas.
Get the cell formula if it exists.
The cell reference, such as "A1".
The cell formula.
Get the cell formula if it exists.
The row index.
The column index.
The cell formula.
this is for copying on transpose
true when it's insert/delete row column operation. otherwise it's copy cell/row/column
true when it's insert row/column, false when it's delete row/column
only used when delete. put 0 when insert.
only used when delete. put 0 when insert.
this is for copying on transpose
true when it's insert/delete row column operation. otherwise it's copy cell/row/column
true when it's insert row/column, false when it's delete row/column
only used when delete. put 0 when insert.
only used when delete. put 0 when insert.
Indicates if the row has an existing style.
The row index.
True if the row has an existing style. False otherwise.
Get the row height. If the row doesn't have a height explicitly set, the default row height for the current worksheet is returned.
The row index.
The row height in points.
Set the row height.
The row index.
The row height in points.
True if the row index is valid. False otherwise.
Set the row height for a range of rows.
The row index of the starting row.
The row index of the ending row.
The row height in points.
True if the row indices are valid. False otherwise.
Automatically fit row height according to cell contents.
The row index.
Automatically fit row height according to cell contents.
The row index.
The maximum row height in points.
Automatically fit row height according to cell contents.
The row index of the starting row.
The row index of the ending row.
Automatically fit row height according to cell contents.
The row index of the starting row.
The row index of the ending row.
The maximum row height in points.
Indicates if the row is hidden.
The row index.
True if the row is hidden. False otherwise.
Hide the row.
The row index.
True if the row index is valid. False otherwise.
Hide a range of rows.
The row index of the starting row.
The row index of the ending row.
True if the row indices are valid. False otherwise.
Unhide the row.
The row index.
True if the row index is valid. False otherwise.
Unhide a range of rows.
The row index of the starting row.
The row index of the ending row.
True if the row indices are valid. False otherwise.
Get the group level of the row.
The row index.
The group level (between 0 and 7, both inclusive). The default is 0.
Group rows.
The row index of the start row.
The row index of the end row.
Ungroup rows.
The row index of the start row.
The row index of the end row.
Collapse a group of rows.
The row index of the row just after the group of rows you want to collapse. For example, this will be row 5 if rows 2 to 4 are grouped.
Expand a group of rows.
The row index of the row just after the group of rows you want to expand. For example, this will be row 5 if rows 2 to 4 are grouped.
Indicates if the row has a thick top.
The row index.
True if the row has a thick top. False otherwise.
Set the thick top property of the row.
The row index.
True if the row should have a thick top. False otherwise.
True if the row index is valid. False otherwise.
Set the thick top property of a range of rows.
The row index of the starting row.
The row index of the ending row.
True if the rows should have a thick top. False otherwise.
True if the row indices are valid. False otherwise.
Indicates if the row has a thick bottom.
The row index.
True if the row has a thick bottom. False otherwise.
Set the thick bottom property of the row.
The row index.
True if the row should have a thick bottom. False otherwise.
True if the row index is valid. False otherwise.
Set the thick bottom property of a range of rows.
The row index of the starting row.
The row index of the ending row.
True if the rows should have a thick bottom. False otherwise.
True if the row indices are valid. False otherwise.
Indicates if the row is showing phonetic information.
The row index.
True if the row is showing phonetic information. False otherwise.
Set the show phonetic property for the row.
The row index.
True if the row should show phonetic information. False otherwise.
True if the row index is valid. False otherwise.
Set the show phonetic property for a range of rows.
The row index of the starting row.
The row index of the ending row.
True if the rows should show phonetic information. False otherwise.
True if the row indices are valid. False otherwise.
Copy one row to another row.
The row index of the row to be copied from.
The row index of the row to be copied to.
True if successful. False otherwise.
Copy one row to another row.
The row index of the row to be copied from.
The row index of the row to be copied to.
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Copy a range of rows to another range, given the anchor row of the destination range (top row).
The row index of the start row of the row range. This is typically the top row.
The row index of the end row of the row range. This is typically the bottom row.
The row index of the anchor row.
True if successful. False otherwise.
Copy a range of rows to another range, given the anchor row of the destination range (top row).
The row index of the start row of the row range. This is typically the top row.
The row index of the end row of the row range. This is typically the bottom row.
The row index of the anchor row.
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Insert one or more rows.
Additional rows are inserted at this row index.
The number of rows to insert.
True if successful. False otherwise.
Delete one or more rows.
Rows will be deleted from this row index, including this row itself.
Number of rows to delete.
True if successful. False otherwise.
Clear all cell content within specified rows. If the top-left cell of a merged cell is within specified rows, the merged cell content is also cleared.
The row index of the starting row.
The row index of the ending row.
True if content has been cleared. False otherwise. If there are no content within specified rows, false is also returned.
Indicates if the column has an existing style.
The column name, such as "A".
True if the column has an existing style. False otherwise.
Indicates if the column has an existing style.
The column index.
True if the column has an existing style. False otherwise.
Get the column width. If the column doesn't have a width explicitly set, the default column width for the current worksheet is returned.
The column name, such as "A".
The column width.
Get the column width. If the column doesn't have a width explicitly set, the default column width for the current worksheet is returned.
The column index.
The column width.
Set the column width.
The column name, such as "A".
The column width.
True if the column name is valid. False otherwise.
Set the column width.
The column index.
The column width.
True if the column index is valid. False otherwise.
Set the column width for a range of columns.
The column name of the start column.
The column name of the end column.
The column width.
True if the column names are valid. False otherwise.
Set the column width for a range of columns.
The column index of the start column.
The column index of the end column.
The column width.
True if the column indices are valid. False otherwise.
Automatically fit column width according to cell contents.
The column name, such as "A".
Automatically fit column width according to cell contents.
The column name, such as "A".
The maximum column width in number of characters.
Automatically fit column width according to cell contents.
The column name of the start column.
The column name of the end column.
Automatically fit column width according to cell contents.
The column name of the start column.
The column name of the end column.
The maximum column width in number of characters.
Automatically fit column width according to cell contents.
The column index.
Automatically fit column width according to cell contents.
The column index.
The maximum column width in number of characters.
Automatically fit column width according to cell contents.
The column index of the start column.
The column index of the end column.
Automatically fit column width according to cell contents.
The column index of the start column.
The column index of the end column.
The maximum column width in number of characters.
Indicates if the column is hidden.
The column name, such as "A".
True if the column is hidden. False otherwise.
Indicates if the column is hidden.
The column index.
True if the column is hidden. False otherwise.
Hide the column.
The column name, such as "A".
True if the column name is valid. False otherwise.
Hide the column.
The column index.
True if the column index is valid. False otherwise.
Hide a range of columns.
The column name of the start column.
The column name of the end column.
True if the column names are valid. False otherwise.
Hide a range of columns.
The column index of the start column.
The column index of the end column.
True if the column indices are valid. False otherwise.
Unhide the column.
The column name, such as "A".
True if the column name is valid. False otherwise.
Unhide the column.
The column index.
True if the column index is valid. False otherwise.
Unhide a range of columns.
The column name of the start column.
The column name of the end column.
True if the column names are valid. False otherwise.
Unhide a range of columns.
The column index of the start column.
The column index of the end column.
True if the column indices are valid. False otherwise.
Indicates if the column is showing phonetic information.
The column name, such as "A".
True if the column is showing phonetic information. False otherwise.
Indicates if the column is showing phonetic information.
The column index.
True if the column is showing phonetic information. False otherwise.
Set the show phonetic property for the column.
The column name, such as "A".
True if the column should show phonetic information. False otherwise.
True if the column name is valid. False otherwise.
Set the show phonetic property for the column.
The column index.
True if the column should show phonetic information. False otherwise.
True if the column index is valid. False otherwise.
Set the show phonetic property for a range of columns.
The column name of the start column.
The column name of the end column.
True if the columns should show phonetic information. False otherwise.
True if the column names are valid. False otherwise.
Set the show phonetic property for a range of columns.
The column index of the start column.
The column index of the end column.
True if the columns should show phonetic information. False otherwise.
True if the column indices are valid. False otherwise.
Copy one column to another column.
The column name of the column to be copied from.
The column name of the column to be copied to.
True if successful. False otherwise.
Copy one column to another column.
The column index of the column to be copied from.
The column index of the column to be copied to.
True if successful. False otherwise.
Copy one column to another column.
The column name of the column to be copied from.
The column name of the column to be copied to.
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Copy one column to another column.
The column index of the column to be copied from.
The column index of the column to be copied to.
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Copy a range of columns to another range, given the anchor column of the destination range (left-most column).
The column name of the start column of the column range. This is typically the left-most column.
The column name of the end column of the column range. This is typically the right-most column.
The column name of the anchor column.
True if successful. False otherwise.
Copy a range of columns to another range, given the anchor column of the destination range (left-most column).
The column index of the start column of the column range. This is typically the left-most column.
The column index of the end column of the column range. This is typically the right-most column.
The column index of the anchor column.
True if successful. False otherwise.
Copy a range of columns to another range, given the anchor column of the destination range (left-most column).
The column name of the start column of the column range. This is typically the left-most column.
The column name of the end column of the column range. This is typically the right-most column.
The column name of the anchor column.
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Copy a range of columns to another range, given the anchor column of the destination range (left-most column).
The column index of the start column of the column range. This is typically the left-most column.
The column index of the end column of the column range. This is typically the right-most column.
The column index of the anchor column.
True for cut-and-paste. False for copy-and-paste.
True if successful. False otherwise.
Get the group level of the column.
The column name, such as "A".
The group level (between 0 and 7, both inclusive). The default is 0.
Get the group level of the column.
The column index.
The group level (between 0 and 7, both inclusive). The default is 0.
Group columns.
The column name of the start column of the column range. This is typically the left-most column.
The column name of the end column of the column range. This is typically the right-most column.
Group columns.
The column index of the start column.
The column index of the end column.
Ungroup columns.
The column name of the start column of the column range. This is typically the left-most column.
The column name of the end column of the column range. This is typically the right-most column.
Ungroup columns.
The column index of the start column.
The column index of the end column.
Collapse a group of columns.
The column name (such as "A1") of the column just after the group of columns you want to collapse. For example, this will be column E if columns B to D are grouped.
Collapse a group of columns.
The column index of the column just after the group of columns you want to collapse. For example, this will be column 5 if columns 2 to 4 are grouped.
Expand a group of columns.
The column name (such as "A1") of the column just after the group of columns you want to expand. For example, this will be column E if columns B to D are grouped.
Expand a group of columns.
The column index of the column just after the group of columns you want to expand. For example, this will be column 5 if columns 2 to 4 are grouped.
Insert one or more columns.
Additional columns will be inserted at this column.
Number of columns to insert.
True if successful. False otherwise.
Insert one or more columns.
Additional columns will be inserted at this column index.
Number of columns to insert.
True if successful. False otherwise.
Delete one or more columns.
Columns will deleted from this column, including this column itself.
Number of columns to delete.
True if successful. False otherwise.
Delete one or more columns.
Columns will be deleted from this column index, including this column itself.
Number of columns to delete.
True if successful. False otherwise.
Clear all cell content within specified columns. If the top-left cell of a merged cell is within specified columns, the merged cell content is also cleared.
The column name of the start column.
The column name of the end column.
True if content has been cleared. False otherwise. If there are no content within specified rows, false is also returned.
Clear all cell content within specified columns. If the top-left cell of a merged cell is within specified columns, the merged cell content is also cleared.
The column index of the start column.
The column index of the end column.
True if content has been cleared. False otherwise. If there are no content within specified rows, false is also returned.
Delta is >= 0
Delta is >= 0
Delta is >= 0
Delta is >= 0
This returns a list of index with pixel lengths. Depending on the type,
the pixel length is for row heights or column widths
Flattens shared cell formulas into respective cells.
For example, if there's a shared cell formula in A2 for the range A2:A6, the shared cell formula will be
individually assigned into A2, A3, A4, A5 and A6. And the shared cell formula portion will then be removed.
Set to true to bubble exceptions up if there are any occurring within SpreadsheetLight. Set to false otherwise. The default is false.
The file name of the default blank spreadsheet. This is read-only.
The name of the first worksheet when creating a new spreadsheet. This is read-only.
The default font size in points. This is read-only.
The maximum number of rows in a worksheet. This is read-only.
The maximum number of columns in a worksheet. This is read-only.
This should be assigned immediately after the minor font is determined
and never assigned anymore after that.
This should be assigned immediately after the minor font is determined
and never assigned anymore after that.
The document metadata.
Chart customization options for pie, bar-of-pie, pie-of-pie and doughnut charts.
Initializes an instance of SLPieChartOptions. It is recommended to use SLChart.CreatePieChartOptions().
Split the data series by position where the second plot contains the last N values. This is only for bar-of-pie or pie-of-pie charts.
The last N values used in the second plot.
Split the data series by value where the second plot contains all values less than a maximum value. This is only for bar-of-pie or pie-of-pie charts.
The maximum value.
Split the data series by percentage where the second plot contains all values less than a percentage of the sum. This is only for bar-of-pie or pie-of-pie charts.
The maximum percentage of the sum.
Split the data series by selecting data points for the second plot. This is only for bar-of-pie or pie-of-pie charts.
The indices of the data points of the data series. The index is 1-based, so "1,3,4" sets the 1st, 3rd and 4th data point in the second plot.
Each data point shall have a different color. The default is "true".
Angle of the first slice, ranging from 0 degrees to 360 degrees.
The size of the hole in a doughnut chart, ranging from 10% to 90% of the diameter of the doughnut chart. If the doughnut chart is exploded, the diameter is taken to be that when it's not exploded.
The gap width between the first pie and the second bar or pie chart, ranging from 0 to 500 (both inclusive). This is for bar-of-pie or pie-of-pie charts.
The size of the second bar or pie of the bar-of-pie or pie-of-pie chart as a percentage of the size of the first pie. This ranges from 5% to 200% (both inclusive).
Line properties for the connecting line for bar-of-pie or pie-of-pie charts.
Shadow properties for the connecting line for bar-of-pie or pie-of-pie charts.
Glow properties for the connecting line for bar-of-pie or pie-of-pie charts.
Soft edge properties for the connecting line for bar-of-pie or pie-of-pie charts.
For CategoryAxisData and XValues
Encapsulates properties and methods for shared cell formula.
Initializes an instance of SLSharedCellFormula.
Clone a new instance of SLSharedCellFormula.
A cloned SLSharedCellFormula object.
The base row index for the shared cell formula.
The base column index for the shared cell formula.
The shared index.
The cell range(s) under the shared cell formula.
The shared cell formula text.
Encapsulates properties and methods for specifying fill effects.
This simulates the DocumentFormat.OpenXml.Drawing.Fill class.
Set the fill to automatic.
Set no fill.
Set a solid fill.
The color used.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Set a solid fill.
The theme color used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Set a linear gradient given a preset setting.
The preset to be used.
The interpolation angle ranging from 0 degrees to 359.9 degrees. 0 degrees mean from left to right, 90 degrees mean from top to bottom, 180 degrees mean from right to left and 270 degrees mean from bottom to top. Accurate to 1/60000 of a degree.
Set a radial gradient given a preset setting.
The preset to be used.
The radial gradient direction.
Set a rectangular gradient given a preset setting.
The preset to be used.
The rectangular gradient direction.
Set a path gradient given a preset setting.
The preset to be used.
Append a gradient stop given a color, the color's transparency and the position of gradient stop.
The color to be used.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
The position in percentage ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Append a gradient stop given a color, the color's transparency and the position of gradient stop.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
The position in percentage ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Clear all gradient stops.
Set a picture fill. This stretches the picture.
The file name of the image/picture used.
The left offset in percentage. A suggested range is -100% to 100%. Accurate to 1/1000 of a percent.
The right offset in percentage. A suggested range is -100% to 100%. Accurate to 1/1000 of a percent.
The top offset in percentage. A suggested range is -100% to 100%. Accurate to 1/1000 of a percent.
The bottom offset in percentage. A suggested range is -100% to 100%. Accurate to 1/1000 of a percent.
Transparency of the picture ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Set a picture fill. This tiles the picture.
The file name of the image/picture used.
Horizontal offset ranging from -2147483648 pt to 2147483647 pt. However a suggested range is -1585pt to 1584pt. Accurate to 1/12700 of a point.
Vertical offset ranging from -2147483648 pt to 2147483647 pt. However a suggested range is -1585pt to 1584pt. Accurate to 1/12700 of a point.
Horizontal scale in percentage. A suggested range is 0% to 100%.
Vertical scale in percentage. A suggested range is 0% to 100%.
Picture alignment.
Picture mirror type.
Transparency of the picture ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The color to be used for the foreground.
The color to be used for the background.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The color to be used for the foreground.
The theme color to be used for the background.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The color to be used for the foreground.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The theme color to be used for the foreground.
The color to be used for the background.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The theme color to be used for the foreground.
The theme color to be used for the background.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The theme color to be used for the foreground.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The color to be used for the background.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The theme color to be used for the background.
Set a pattern fill with a preset pattern, foreground color and background color.
A preset fill pattern.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Encapsulates properties and methods for high-low lines.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.HighLowLines class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Line properties.
Shadow properties.
Glow properties.
Soft edge properties.
Chart customization options for area charts.
Initializes an instance of SLAreaChartOptions. It is recommended to use SLChart.CreateAreaChartOptions().
Clone a new instance of SLAreaChartOptions.
An SLAreaChartOptions object.
Indicates if the area chart has drop lines.
Drop lines properties.
The gap depth between area clusters (between different data series) as a percentage of width, ranging between 0% and 500% (both inclusive). The default is 150%. This is only used for 3D chart version.
Specifies the named cell style to be used.
Normal
Bad
Good
Neutral
Calculation
Check Cell
Explanatory Text
Input
Linked Cell
Note
Output
Warning Text
Level 1 heading
Level 2 heading
Level 3 heading
Level 4 heading
Title
Total
Background color is Accent1 color.
Background color is 20% of Accent1 color.
Background color is 40% of Accent1 color.
Background color is 60% of Accent1 color.
Background color is Accent2 color.
Background color is 20% of Accent2 color.
Background color is 40% of Accent2 color.
Background color is 60% of Accent2 color.
Background color is Accent3 color.
Background color is 20% of Accent3 color.
Background color is 40% of Accent3 color.
Background color is 60% of Accent3 color.
Background color is Accent4 color.
Background color is 20% of Accent4 color.
Background color is 40% of Accent4 color.
Background color is 60% of Accent4 color.
Background color is Accent5 color.
Background color is 20% of Accent5 color.
Background color is 40% of Accent5 color.
Background color is 60% of Accent5 color.
Background color is Accent6 color.
Background color is 20% of Accent6 color.
Background color is 40% of Accent6 color.
Background color is 60% of Accent6 color.
Formats numerical data with a comma as the thousands separator.
Formats numerical data with a comma as the thousands separator, truncating decimal values.
Formats numerical data with a comma as the thousands separator, with $ on the left of the data.
Formats numerical data with a comma as the thousands separator, with $ on the left of the data, and truncating decimal values.
Appends % on the end of the numerical data, and truncating decimal values.
Encapsulates properties and methods for setting various formatting styles.
Initializes an instance of SLStyle. It is recommended to use CreateStyle() of the SLDocument class.
Set the font, given a font name and font size.
The name of the font to be used.
The size of the font in points.
Set the font, given a font scheme and font size.
The font scheme. If None is given, the current theme's minor font will be used (but if the theme is changed, the text remains as of the old theme's minor font instead of the new theme's minor font).
The size of the font in points.
Set the font color.
The color of the font text.
Set the font color with one of the theme colors.
The theme color to be used.
Set the font color with one of the theme colors, modifying the theme color with a tint value.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Toggle bold settings.
True to set font as bold. False otherwise.
Toggle italic settings.
True to set font as italic. False otherwise.
Set font underline.
Specifies the underline formatting style of the font text.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The color to be used for the foreground.
The color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The color to be used for the foreground.
The theme color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The color to be used for the foreground.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The theme color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The theme color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the left border with a border style and a color.
The border style. Default is none.
The border color.
Set the left border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the left border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the right border with a border style and a color.
The border style. Default is none.
The border color.
Set the right border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the right border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the top border with a border style and a color.
The border style. Default is none.
The border color.
Set the top border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the top border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the bottom border with a border style and a color.
The border style. Default is none.
The border color.
Set the bottom border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the bottom border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the diagonal border with a border style and a color.
The border style. Default is none.
The border color.
Set the diagonal border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the diagonal border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the vertical border with a border style and a color.
The border style. Default is none.
The border color.
Set the vertical border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the vertical border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the horizontal border with a border style and a color.
The border style. Default is none.
The border color.
Set the horizontal border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the horizontal border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Align text vertically.
Specifies the vertical alignment. Default value is Bottom.
Align text horizontally.
Specifies the horizontal alignment. Default value is General.
Toggle wrap text settings.
True to wrap text. False otherwise.
Apply a named cell style. Existing styles are kept, unless the chosen named cell style overrides those styles.
The named cell style to be applied.
Remove any existing alignment properties.
Remove any existing protection properties.
Remove any existing format code.
Remove any existing font properties.
Remove any existing fill properties.
Remove any existing border properties.
IMPORTANT! Fill the indices for numbering format, font, fill and border!
Clone a new instance of SLStyle with identical style settings.
An SLStyle object with identical style settings.
Specifies the alignment properties for this style.
Specifies the protection properties for this style.
Specifies the (number) format code for this style. Note that the format has to be in invariant-culture mode. So "#,##0.000" is accepted but "#.##0,000" isn't. For cultures with a period as the thousands separator and a comma for the decimal digit separator... sorry.
Specifies the font properties for this style.
Specifies the fill properties for this style.
Specifies the border properties for this style.
Specifies if the cell content text should be prefixed with a single quotation mark.
Specifies if a pivot table dropdown button should be displayed.
Encapsulates properties and methods for setting plot areas in charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.PlotArea class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
Built-in sparkline styles.
Accent 1 Darker 50%
Accent 2 Darker 50%
Accent 3 Darker 50%
Accent 4 Darker 50%
Accent 5 Darker 50%
Accent 6 Darker 50%
Accent 1 Darker 25%
Accent 2 Darker 25%
Accent 3 Darker 25%
Accent 4 Darker 25%
Accent 5 Darker 25%
Accent 6 Darker 25%
Accent 1
Accent 2
Accent 3
Accent 4
Accent 5
Accent 6
Accent 1 Lighter 40%
Accent 2 Lighter 40%
Accent 3 Lighter 40%
Accent 4 Lighter 40%
Accent 5 Lighter 40%
Accent 6 Lighter 40%
Dark #1
Dark #2
Dark #3
Dark #4
Dark #5
Dark #6
Colorful #1
Colorful #2
Colorful #3
Colorful #4
Colorful #5
Colorful #6
Encapsulates properties and methods for specifying sparklines.
This simulates the DocumentFormat.OpenXml.Office2010.Excel.SparklineGroup class.
Set the location of the sparkline group given a cell reference. Use this if your data source is either 1 row of cells or 1 column of cells.
The cell reference such as "A1".
Set the location of the sparkline group given cell references of opposite cells in a cell range.
Note that the cell range has to be a 1-dimensional vector, meaning it's either a single row or single column.
Note also that the length of the vector must be equal to either the number of rows or number of columns in the data source range.
The cell reference of the start cell of the location cell range, such as "A1". This is either the top-most or left-most cell.
The cell reference of the end cell of the location cell range, such as "A1". This is either the bottom-most or right-most cell.
Set the location of the sparkline group given cell references of opposite cells in a cell range.
Note that the cell range has to be a 1-dimensional vector, meaning it's either a single row or single column.
Note also that the length of the vector must be equal to either the number of rows or number of columns in the data source range.
The cell reference of the start cell of the location cell range, such as "A1". This is either the top-most or left-most cell.
The cell reference of the end cell of the location cell range, such as "A1". This is either the bottom-most or right-most cell.
True if the data source has its series in rows. False if it's in columns. This only comes into play if the data source has the same number of rows as its columns.
Set the location of the sparkline group given a row and column index. Use this if your data source is either 1 row of cells or 1 column of cells.
The row index.
The column index.
Set the location of the sparkline group given row and column indices of opposite cells in a cell range.
Note that the cell range has to be a 1-dimensional vector, meaning it's either a single row or single column.
Note also that the length of the vector must be equal to either the number of rows or number of columns in the data source range.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
Set the location of the sparkline group given row and column indices of opposite cells in a cell range.
Note that the cell range has to be a 1-dimensional vector, meaning it's either a single row or single column.
Note also that the length of the vector must be equal to either the number of rows or number of columns in the data source range.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
True if the data source has its series in rows. False if it's in columns. This only comes into play if the data source has the same number of rows as its columns.
Set the horizontal axis as general axis type.
Set the horizontal axis as date axis type, given a cell range containing the date values.
Note that this means the cell range is a 1-dimensional vector, meaning it's a single row or single column.
Note also that this probably means the length of the vector is the same as your location cell range.
The cell reference of the start cell of the date cell range, such as "A1". This is either the top-most or left-most cell.
The cell reference of the end cell of the date cell range, such as "A1". This is either the bottom-most or right-most cell.
Set the horizontal axis as date axis type, given a worksheet name and a cell range containing the date values.
Note that this means the cell range is a 1-dimensional vector, meaning it's a single row or single column.
Note also that this probably means the length of the vector is the same as your location cell range.
The name of the source worksheet.
The cell reference of the start cell of the date cell range, such as "A1". This is either the top-most or left-most cell.
The cell reference of the end cell of the date cell range, such as "A1". This is either the bottom-most or right-most cell.
Set the horizontal axis as date axis type, given row and column indices of opposite cells in a cell range containing the date values.
Note that this means the cell range is a 1-dimensional vector, meaning it's a single row or single column.
Note also that this probably means the length of the vector is the same as your location cell range.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
Set the horizontal axis as date axis type, given a worksheet name, and row and column indices of opposite cells in a cell range containing the date values.
Note that this means the cell range is a 1-dimensional vector, meaning it's a single row or single column.
Note also that this probably means the length of the vector is the same as your location cell range.
The name of the source worksheet.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
Set automatic minimum value for the vertical axis for the entire sparkline group.
Set the same minimum value for the vertical axis for the entire sparkline group.
Set a custom minimum value for the vertical axis for the entire sparkline group.
The custom minimum value.
Set automatic maximum value for the vertical axis for the entire sparkline group.
Set the same maximum value for the vertical axis for the entire sparkline group.
Set a custom maximum value for the vertical axis for the entire sparkline group.
The custom maximum value.
Set the sparkline style.
A built-in sparkline style.
The color for the main sparkline series.
The color for negative points.
The color for the axis.
The color for markers.
The color for the first point.
The color for the last point.
The color for the high point.
The color for the low point.
Line weight for the sparkline group in points, ranging from 0 pt to 1584 pt (both inclusive).
The type of sparkline. Use "Stacked" for "Win/Loss".
The default is to show empty cells with a gap.
Specifies if markers are shown.
Specifies if the high point is shown.
Specifies if the low point is shown.
Specifies if the first point is shown.
Specifies if the last point is shown.
Specifies if negative points are shown.
Specifies is the horizontal axis is shown. This only appears if there's sparkline data crossing the zero point.
Specifies if hidden data is shown.
Plot data right-to-left.
Encapsulates properties and methods for setting chart minor gridlines in charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.MinorGridlines class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Line properties.
Shadow properties.
Glow properties.
Soft edge properties.
Chart customization options for bar and column charts.
Initializes an instance of SLBarChartOptions.
The gap width between bar or column clusters (in the same data series) as a percentage of bar or column width, ranging between 0% and 500% (both inclusive). The default is 150%.
The gap depth between bar or columns clusters (between different data series) as a percentage of bar or column width, ranging between 0% and 500% (both inclusive). The default is 150%. This is only used for 3D chart version.
The amount of overlapping for bars and columns on 2D bar/column charts, ranging from -100 to 100 (both inclusive). The default is 0. For stacked and "100% stacked" bar/column charts, this should be 100.
Encapsulates properties and methods for specifying cell styles. This simulates the DocumentFormat.OpenXml.Spreadsheet.CellStyle class.
Initializes an instance of SLCellStyle.
Name of the cell style.
Specifies a zero-based index referencing a CellFormat in the CellStyleFormats class.
Specifies the index of a built-in cell style.
Specifies that the formatting is for an outline style.
Specifies if the style is shown in the application user interface.
Specifies if the built-in cell style is customized.
Attribute: n
Attribute: t
Attribute: h
Attribute: s
Attribute: sd
Attribute: f
Attribute: m
Attribute: c
Attribute: x
Attribute: d
Attribute: e
Encapsulates properties and methods for setting the data table of charts.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Set font settings for the contents of the data table.
The SLFont containing the font settings.
Specifies if horizontal table borders are shown.
Specifies if vertical table borders are shown.
Specifies if table outline borders are shown.
Specifies if legend keys are shown.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
Encapsulates properties and methods for setting data point options for charts.
Fill properties.
Border/Line properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
Invert colors if negative. If null, the effective default is used (false). This is for bar charts, column charts and bubble charts.
Marker properties. This is for line charts, radar charts and scatter charts.
The explosion distance from the center of the pie in percentage. It is suggested to keep the range between 0% and 400%.
This simulates the element group EG_DLblShared as specified in the Open XML specs.
Set the position of the data label.
The data label position.
Set automatic positioning of the data label.
Format code. If you set a custom format code, you might also want to set SourceLinked to false.
Whether the format code is linked to the data source.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
Specifies if the legend key is included in the label.
Specifies if the label contains the value. For certain charts, this is known as the "Y Value".
Specifies if the label contains the category name. For certain charts, this is known as the "X Value".
Specifies if the label contains the series name.
Specifies if the label contains the percentage. This is for pie charts.
Specifies if the label contains the bubble size. This is for bubble charts.
The separator.
Encapsulates properties and methods for a picture to be inserted into a worksheet.
Initializes an instance of SLPicture given the file name of a picture.
The file name of a picture to be inserted.
Initializes an instance of SLPicture given the file name of a picture.
The file name of a picture to be inserted.
Set to true to bubble exceptions up if there are any occurring within SpreadsheetLight. Set to false otherwise. The default is false.
Initializes an instance of SLPicture given the file name of a picture, and the targeted computer's horizontal and vertical resolution. This scales the picture according to how it will be displayed on the targeted computer screen.
The file name of a picture to be inserted.
The targeted computer's horizontal resolution (DPI).
The targeted computer's vertical resolution (DPI).
Initializes an instance of SLPicture given the file name of a picture, and the targeted computer's horizontal and vertical resolution. This scales the picture according to how it will be displayed on the targeted computer screen.
The file name of a picture to be inserted.
The targeted computer's horizontal resolution (DPI).
The targeted computer's vertical resolution (DPI).
Set to true to bubble exceptions up if there are any occurring within SpreadsheetLight. Set to false otherwise. The default is false.
Initializes an instance of SLPicture given a picture's data in a byte array.
The picture's data in a byte array.
The image type of the picture.
Initializes an instance of SLPicture given a picture's data in a byte array.
The picture's data in a byte array.
The image type of the picture.
Set to true to bubble exceptions up if there are any occurring within SpreadsheetLight. Set to false otherwise. The default is false.
Initializes an instance of SLPicture given a picture's data in a byte array, and the targeted computer's horizontal and vertical resolution. This scales the picture according to how it will be displayed on the targeted computer screen.
The picture's data in a byte array.
The image type of the picture.
The targeted computer's horizontal resolution (DPI).
The targeted computer's vertical resolution (DPI).
Initializes an instance of SLPicture given a picture's data in a byte array, and the targeted computer's horizontal and vertical resolution. This scales the picture according to how it will be displayed on the targeted computer screen.
The picture's data in a byte array.
The image type of the picture.
The targeted computer's horizontal resolution (DPI).
The targeted computer's vertical resolution (DPI).
Set to true to bubble exceptions up if there are any occurring within SpreadsheetLight. Set to false otherwise. The default is false.
Obsolete. Set the absolute position of the picture in pixels relative to the top-left corner of the worksheet.
Consider using the SetPosition() function instead.
Offset from the left of the worksheet in pixels.
Offset from the top of the worksheet in pixels.
Obsolete. Set the absolute position of the picture in English Metric Units (EMUs) relative to the top-left corner of the worksheet.
Consider using the SetPosition() function instead.
Offset from the left of the worksheet in EMUs.
Offset from the top of the worksheet in EMUs.
Set the position of the picture relative to the top-left of the worksheet.
Top position based on row index. For example, 0.5 means at the half-way point of the 1st row, 2.5 means at the half-way point of the 3rd row.
Left position based on column index. For example, 0.5 means at the half-way point of the 1st column, 2.5 means at the half-way point of the 3rd column.
Obsolete. Set the position of the picture in pixels relative to the top-left of the worksheet. The picture is anchored to the top-left corner of a given cell.
Consider using the SetPosition() function instead.
Row index of the anchor cell.
Column index of the anchor cell.
Offset from the left of the anchor cell in pixels.
Offset from the top of the anchor cell in pixels.
Obsolete. Set the position of the picture in English Metric Units (EMUs) relative to the top-left of the worksheet. The picture is anchored to the top-left corner of a given cell.
Consider using the SetPosition() function instead.
Row index of the anchor cell.
Column index of the anchor cell.
Offset from the left of the anchor cell in EMUs.
Offset from the top of the anchor cell in EMUs.
Resize the picture with new size dimensions using percentages of the original size dimensions.
A percentage of the original width. It is suggested to keep the range between 1% and 56624%.
A percentage of the original height. It is suggested to keep the range between 1% and 56624%.
Resize the picture with new size dimensions in pixels.
The new width in pixels.
The new height in pixels.
Resize the picture with new size dimension in English Metric Units (EMUs).
The new width in EMUs.
The new height in EMUs.
Obsolete. Fill the background of the picture with color. The color will be seen through the transparent parts of the picture.
The color used to fill the background of the picture.
Transparency of the fill color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Obsolete. Fill the background of the picture with color. The color will be seen through the transparent parts of the picture.
The theme color used to fill the background of the picture.
Transparency of the fill color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Obsolete. Fill the background of the picture with color. The color will be seen through the transparent parts of the picture.
The theme color used to fill the background of the picture.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the fill color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Obsolete. Set the outline color.
The color used to outline the picture.
Transparency of the outline color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Obsolete. Set the outline color.
The theme color used to outline the picture.
Transparency of the outline color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Obsolete. Set the outline color.
The theme color used to outline the picture.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the outline color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Obsolete. Set the outline style of the picture.
Width of the outline, between 0 pt and 1584 pt. Accurate to 1/12700 of a point.
Compound type. Default value is single.
Dash style of the outline.
Line cap type of the outline. Default value is square.
Join type of the outline at the corners. Default value is round.
Obsolete. Set an inner shadow of the picture.
The color used for the inner shadow.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set an inner shadow of the picture.
The theme color used for the inner shadow.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set an inner shadow of the picture.
The theme color used for the inner shadow.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set an outer shadow of the picture.
The color used for the outer shadow.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Scale size of shadow based on size of picture in percentage (consider a range of 1% to 200%). Accurate to 1/1000 of a percent. Default value is 100%.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Sets the origin of the picture for the size scaling. Default value is Bottom.
True if the shadow should rotate with the picture if the picture is rotated. False otherwise. Default value is true.
Obsolete. Set an outer shadow of the picture.
The theme color used for the outer shadow.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Scale size of shadow based on size of picture in percentage (consider a range of 1% to 200%). Accurate to 1/1000 of a percent. Default value is 100%.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Sets the origin of the picture for the size scaling. Default value is Bottom.
True if the shadow should rotate with the picture if the picture is rotated. False otherwise. Default value is true.
Obsolete. Set an outer shadow of the picture.
The theme color used for the outer shadow.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Scale size of shadow based on size of picture in percentage (consider a range of 1% to 200%). Accurate to 1/1000 of a percent. Default value is 100%.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Sets the origin of the picture for the size scaling. Default value is Bottom.
True if the shadow should rotate with the picture if the picture is rotated. False otherwise. Default value is true.
Obsolete. Set a perspective shadow of the picture.
The color used for the perspective shadow.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Horizontal scaling ratio in percentage (consider a range of -200% to 200%). A negative ratio flips the shadow horizontally. Accurate to 1/1000 of a percent. Default value is 100%.
Vertical scaling ratio in percentage (consider a range of -200% to 200%). A negative ratio flips the shadow vertically. Accurate to 1/1000 of a percent. Default value is 100%.
Horizontal skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Vertical skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Sets the origin of the picture for the size scaling, angle skews and distance offsets. Default value is Bottom.
True if the shadow should rotate with the picture if the picture is rotated. False otherwise. Default value is true.
Obsolete. Set a perspective shadow of the picture.
The theme color used for the perspective shadow.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Horizontal scaling ratio in percentage (consider a range of -200% to 200%). A negative ratio flips the shadow horizontally. Accurate to 1/1000 of a percent. Default value is 100%.
Vertical scaling ratio in percentage (consider a range of -200% to 200%). A negative ratio flips the shadow vertically. Accurate to 1/1000 of a percent. Default value is 100%.
Horizontal skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Vertical skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Sets the origin of the picture for the size scaling, angle skews and distance offsets. Default value is Bottom.
True if the shadow should rotate with the picture if the picture is rotated. False otherwise. Default value is true.
Obsolete. Set a perspective shadow of the picture.
The theme color used for the perspective shadow.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Horizontal scaling ratio in percentage (consider a range of -200% to 200%). A negative ratio flips the shadow horizontally. Accurate to 1/1000 of a percent. Default value is 100%.
Vertical scaling ratio in percentage (consider a range of -200% to 200%). A negative ratio flips the shadow vertically. Accurate to 1/1000 of a percent. Default value is 100%.
Horizontal skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Vertical skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Angle of shadow projection based on picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from picture, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Sets the origin of the picture for the size scaling, angle skews and distance offsets. Default value is Bottom.
True if the shadow should rotate with the picture if the picture is rotated. False otherwise. Default value is true.
Obsolete. Set a bevelled top.
The bevel type. Default value is circle.
Width of the bevel, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 6 pt.
Height of the bevel, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 6 pt.
Obsolete. Set a bevelled bottom.
The bevel type. Default value is circle.
Width of the bevel, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 6 pt.
Height of the bevel, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 6 pt.
Obsolete. Set the extrusion (or depth).
The color used for the extrusion.
Transparency of the extrusion color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Height of the extrusion, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set the extrusion (or depth).
The theme color used for the extrusion.
Transparency of the theme color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Height of the extrusion, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set the extrusion (or depth).
The theme color used for the extrusion.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the theme color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Height of the extrusion, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set the 3D contour.
The color used for the contour.
Transparency of the contour color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Width of the contour, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set the 3D contour.
The theme color used for the contour.
Transparency of the theme color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Width of the contour, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set the 3D contour.
The theme color used for the contour.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the theme color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Width of the contour, ranging from 0 pt to 2147483647 pt (but consider a maximum of 1584 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set the surface material.
The material used. Default value is WarmMatte.
Obsolete. Set the Z distance.
The Z distance, ranging from -4000 pt to 4000 pt. Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set the camera and light properties.
A preset set of properties for the camera, which can be overridden. Default value is OrthographicFront.
Field of view, ranging from 0 degrees to 180 degrees. Accurate to 1/60000 of a degree.
Zoom percentage, ranging from 0% to 2147483.647%. Accurate to 1/1000 of a percent.
Camera latitude angle, ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
Camera longitude angle, ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
Camera revolution angle, ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
The type of light used. Default value is ThreePoints.
The direction of the light. Default value is Top.
Light rig latitude angle, ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
Light rig longitude angle, ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
Light rig revolution angle, ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
Imagine the screen to be the X-Y plane, the positive X-axis pointing to the right, and the positive Y-axis pointing up.
The positive Z-axis points perpendicularly from the screen towards you.
The latitude value increases as you turn around the X-axis, using the right-hand rule.
The longitude value increases as you turn around the Y-axis, using the left-hand rule (meaning it decreases according to right-hand rule).
The revolution value increases as you turn around the Z-axis, using the right-hand rule.
And if you're mapping values directly from Microsoft Excel, don't treat the X, Y and Z values as values related to the axes.
The latitude maps to the Y value, longitude maps to the X value, and revolution maps to the Z value.
Obsolete. Set soft edges on the picture.
Radius of the soft edge, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point.
Obsolete. Set the picture to glow on the edges.
The color used for the glow.
Transparency of the glow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Radius of the glow, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point.
Obsolete. Set the picture to glow on the edges.
The theme color used for the glow.
Transparency of the theme color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Radius of the glow, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point.
Obsolete. Set the picture to glow on the edges.
The theme color used for the glow.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the theme color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Radius of the glow, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point.
Obsolete. Set a tight reflection of the picture.
Obsolete. Set a tight reflection of the picture.
Offset distance of the reflection below the picture, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set a reflection that's about half of the picture.
Obsolete. Set a reflection that's about half of the picture.
Offset distance of the reflection below the picture, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set a full reflection of the picture.
Obsolete. Set a full reflection of the picture.
Offset distance of the reflection below the picture, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point. Default value is 0 pt.
Obsolete. Set a reflection of the picture.
Blur radius of the reflection, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point. Default value is 0 pt.
Start opacity of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 100%.
Position of start opacity of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 0%.
End alpha of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 0%.
Position of end alpha of the reflection, ranging from 0% to 100%. Accurate to 1/1000 of a percent. Default value is 100%.
Distance of the reflection from the picture, ranging from 0 pt to 2147483647 pt (but consider a much lower maximum). Accurate to 1/12700 of a point. Default value is 0 pt.
Direction of the alpha gradient relative to the picture, ranging from 0 degrees to 359.9 degrees. 0 degrees means to the right, 90 degrees is below, 180 degrees is to the right, and 270 degrees is above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Direction to fade the reflection, ranging from 0 degrees to 359.9 degrees. 0 degrees means to the right, 90 degrees is below, 180 degrees is to the right, and 270 degrees is above. Accurate to 1/60000 of a degree. Default value is 90 degrees.
Horizontal scaling ratio in percentage. A negative ratio flips the reflection horizontally. Accurate to 1/1000 of a percent. Default value is 100%.
Vertical scaling ratio in percentage. A negative ratio flips the reflection vertically. Accurate to 1/1000 of a percent. Default value is 100%.
Horizontal skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Vertical skew angle, ranging from -90 degrees to 90 degrees. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Sets the origin of the picture for the size scaling, angle skews and distance offsets. Default value is Bottom.
True if the reflection should rotate with the picture if the picture is rotated. False otherwise. Default value is true.
Inserts a hyperlink to a webpage.
The target webpage URL.
Inserts a hyperlink to a document on the computer.
The relative path to the file based on the location of the spreadsheet.
Inserts a hyperlink to an email address.
The email address, such as johndoe@acme.com
Inserts a hyperlink to a place in the spreadsheet document.
The name of the worksheet being referenced.
The row index of the referenced cell. If this is invalid, row 1 will be used.
The column index of the referenced cell. If this is invalid, column 1 will be used.
Inserts a hyperlink to a place in the spreadsheet document.
The name of the worksheet being referenced.
The cell reference, such as "A1".
Inserts a hyperlink to a place in the spreadsheet document.
A defined name in the spreadsheet.
The horizontal resolution (DPI) of the picture. This is read-only.
The vertical resolution (DPI) of the picture. This is read-only.
The text used to assist users with disabilities. This is similar to the alt tag used in HTML.
Indicates whether the picture can be selected (selection is disabled when this is true). Locking the picture only works when the sheet is also protected. Default value is true.
Indicates whether the picture is printed when the sheet is printed. Default value is true.
Compression settings for the picture. Default value is Print.
Picture brightness modifier, ranging from -100% to 100%. Accurate to 1/1000 of a percent. Default value is 0%.
Picture contrast modifier, ranging from -100% to 100%. Accurate to 1/1000 of a percent. Default value is 0%.
Set the shape of the picture. Default value is Rectangle.
Fill properties.
Line properties.
Shadow properties.
Reflection properties.
Glow properties.
Soft edge properties.
3D format properties.
3D rotation properties.
Encapsulates properties and methods for setting value axes in charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.ValueAxis class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Set the display units on the axis.
Built-in unit types.
True to show the display units label on the chart. False otherwise.
Remove the display units on the axis.
Set the corresponding category/date/value axis to cross this axis at an automatic value.
Set the corresponding category/date/value axis to cross this axis at a given value.
Axis value to cross at.
Set the corresponding category/date/value axis to cross this axis at the maximum value.
The major unit on the axis. A null value means it's automatically set.
The minor unit on the axis. A null value means it's automatically set.
Logarithmic scale of the axis, ranging from 2 to 1000 (both inclusive). A null value means it's not used.
The maximum value on the axis. A null value means it's automatically set.
The minimum value on the axis. A null value means it's automatically set.
This is for information purposes only! This simulates the DocumentFormat.OpenXml.Spreadsheet.CellFormula class.
The formula text.
The type of formula.
If true, then formula is an array formula and the entire array is calculated in full.
If false, then individual cells are calculated as needed.
Range of cells where the formula is applied.
True for 2-dimensional data table. False otherwise.
If true, then 1-dimensional data table is a row. Otherwise it's a column.
Whether the first input cell for data table is deleted.
Whether the second input cell for data table is deleted.
First input cell for data table.
Second input cell for data table.
Indicates whether this formula needs to be recalculated.
Shared formula index.
Specifies that this formula assigns a value to a name.
Simple settings for themes.
Initialize an instance of SLThemeSettings.
Initialize an instance of SLThemeSettings with a given theme.
A built-in theme.
The theme name.
The major latin font.
The minor latin font.
Typically pure black.
Typically pure white.
A dark color that still has visual contrast against light tints of the accent colors.
A light color that still has visual contrast against dark tints of the accent colors.
Accent1 color.
Accent2 color.
Accent3 color.
Accent4 color.
Accent5 color.
Accent6 color.
Color of a hyperlink.
Color of a followed hyperlink.
Conditional formatting options for three icon sets.
Initializes an instance of SLThreeIconSetOptions.
The type of icon set.
Specifies if the icons in the set are reversed.
Specifies if only the icon is shown. Set to false to show both icon and value.
The 1st icon.
The 2nd icon.
The 3rd icon.
Specifies if values are to be greater than or equal to the 2nd range value. Set to false if values are to be strictly greater than.
Specifies if values are to be greater than or equal to the 3rd range value. Set to false if values are to be strictly greater than.
The 2nd range value.
The 3rd range value.
The conditional format type for the 2nd range value.
The conditional format type for the 3rd range value.
Encapsulates properties and methods for setting the floor of 3D charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.Floor class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
3D rotation properties.
Encapsulates properties and methods for setting group data label options for charts.
Specifies if leader lines are shown. This is for pie charts (I think...).
Specifies the built-in theme type.
Office theme with Cambria and Calibri as the major and minor fonts respectively.
Office2013 theme with Calibri Light and Calibri as the major and minor fonts respectively.
Adjacency theme with Cambria and Calibri as the major and minor fonts respectively.
Angles theme with Franklin Gothic Medium and Franklin Gothic Book as the major and minor fonts respectively.
Apex theme with Lucida Sans and Book Antiqua as the major and minor fonts respectively.
Apothecary theme with Book Antiqua and Century Gothic as the major and minor fonts respectively.
Aspect theme with Verdana as both major and minor fonts.
Austin theme with Century Gothic as both major and minor fonts.
Black Tie theme with Garamond as both major and minor fonts.
Civic theme with Georgia as both major and minor fonts.
Clarity theme with Arial as both major and minor fonts.
Composite theme with Calibri as both major and minor fonts.
Concourse theme with Lucida Sans Unicode as both major and minor fonts.
Couture theme with Garamond as both major and minor fonts.
Elemental theme with Palatino Linotype as both major and minor fonts.
Equity theme with Franklin Gothic Book and Perpetua as the major and minor fonts respectively.
Essential theme with Arial Black and Arial as the major and minor fonts respectively.
Executive theme with Century Gothic and Palatino Linotype as the major and minor fonts respectively.
Facet theme with Trebuchet MS as both major and minor fonts.
Flow theme with Calibri and Constantia as the major and minor fonts respectively.
Foundry theme with Rockwell as both major and minor fonts.
Grid theme with Franklin Gothic Medium as both major and minor fonts.
Hardcover theme with Book Antiqua as both major and minor fonts.
Horizon theme with Arial Narrow as both major and minor fonts.
Integral theme with Tw Cen MT Condensed and Tw Cen MT as the major and minor fonts respectively.
Ion theme with Century Gothic as both major and minor fonts.
Ion Boardroom theme with Century Gothic as both major and minor fonts.
Median theme with Tw Cen MT as both major and minor fonts.
Metro theme with Consolas and Corbel as the major and minor fonts respectively.
Module theme with Corbel as both major and minor fonts.
Newsprint theme with Impact and Times New Roman as the major and minor fonts respectively.
Opulent theme with Trebuchet MS as both major and minor fonts.
Organic theme with Garamond as both major and minor fonts.
Oriel theme with Century Schoolbook as both major and minor fonts.
Origin theme with Bookman Old Style and Gill Sans MT as the major and minor fonts respectively.
Paper theme with Constantia as both major and minor fonts.
Perspective theme with Arial as both major and minor fonts.
Pushpin theme with Constantia and Franklin Gothic Book as the major and minor fonts respectively.
Retrospect theme with Calibri Light and Calibri as the major and minor fonts respectively.
Slice theme with Century Gothic as both major and minor fonts.
Slipstream theme with Trebuchet MS as both major and minor fonts.
Solstice theme with Gill Sans MT as both major and minor fonts.
Technic theme with Franklin Gothic Book and Arial as the major and minor fonts respectively.
Thatch theme with Tw Cen MT as both major and minor fonts.
Trek theme with Franklin Gothic Medium and Franklin Gothic Book as the major and minor fonts respectively.
Urban theme with Trebuchet MS and Georgia as the major and minor fonts respectively.
Verve theme with Century Gothic as both major and minor fonts.
Waveform theme with Candara as both major and minor fonts.
Wisp theme with Century Gothic as both major and minor fonts.
Autumn theme with Verdana as both major and minor fonts.
Banded theme with Corbel as both major and minor fonts.
Basis theme with Corbel as both major and minor fonts.
Berlin theme with Trebuchet MS as both major and minor fonts.
Celestial theme with Calibri Light and Calibri as the major and minor fonts respectively.
Circuit theme with Tw Cen MT as both major and minor fonts.
Damask theme Bookman Old Style and Rockwell as the major and minor fonts respectively.
Decatur theme with Bodoni MT Condensed and Franklin Gothic Book as the major and minor fonts respectively.
Depth theme with Corbel as both major and minor fonts.
Dividend theme with Gill Sans MT as both major and minor fonts.
Droplet theme with Tw Cen MT as both major and minor fonts.
Frame theme with Corbel as both major and minor fonts.
Kilter theme with Rockwell as both major and minor fonts.
Macro theme with Calibri as both major and minor fonts.
Main Event theme with Impact as both major and minor fonts.
Mesh theme with Century Gothic as both major and minor fonts.
Metropolitan theme with Calibri Light as both major and minor fonts.
Mylar theme with Corbel as both major and minor fonts.
Parallax theme with Corbel as both major and minor fonts.
Quotable theme with Century Gothic as both major and minor fonts.
Savon theme with Century Gothic as both major and minor fonts.
Sketchbook theme with Cambria as both major and minor fonts.
Slate theme with Calisto MT as both major and minor fonts.
Soho theme with Candara as both major and minor fonts.
Spring theme with Verdana as both major and minor fonts.
Summer theme with Verdana as both major and minor fonts.
Thermal theme with Calibri as both major and minor fonts.
Tradeshow theme with Arial Black and Candara as the major and minor fonts respectively.
Urban Pop theme with Gill Sans MT as both major and minor fonts.
Vapor Trail theme with Century Gothic as both major and minor fonts.
View theme with Century Schoolbook as both major and minor fonts.
Winter theme with Verdana as both major and minor fonts.
Wood Type theme with Rockwell Condensed and Rockwell as the major and minor fonts respectively.
Specifies the theme color type.
Typically pure white. For convenience, this also doubles as "Background 1".
Typically pure black. For convenience, this also doubles as "Text 1".
A light color that still has visual contrast against dark tints of the accent colors. For convenience, this also doubles as "Background 2".
A dark color that still has visual contrast against light tints of the accent colors. For convenience, this also doubles as "Text 2".
Accent1 color
Accent2 color
Accent3 color
Accent4 color
Accent5 color
Accent6 color
Color of a hyperlink
Color of a followed hyperlink
This is for information purposes only! This simulates the DocumentFormat.OpenXml.Spreadsheet.Cell class.
Access this at your own peril! Only when CellText and NumericValue have to be set together! Probably! You've been warned!
Indicates if the cell is truly empty. This is read-only.
Cell formula.
If this is null, the actual value is stored in NumericValue.
Use this value only when CellText is null.
Style index.
Cell data type.
Cell meta index.
Cell value meta index.
Indicates if phonetic information should be shown.
Specifies the built-in table style type.
Table Style Light 1
Table Style Light 2
Table Style Light 3
Table Style Light 4
Table Style Light 5
Table Style Light 6
Table Style Light 7
Table Style Light 8
Table Style Light 9
Table Style Light 10
Table Style Light 11
Table Style Light 12
Table Style Light 13
Table Style Light 14
Table Style Light 15
Table Style Light 16
Table Style Light 17
Table Style Light 18
Table Style Light 19
Table Style Light 20
Table Style Light 21
Table Style Medium 1
Table Style Medium 2
Table Style Medium 3
Table Style Medium 4
Table Style Medium 5
Table Style Medium 6
Table Style Medium 7
Table Style Medium 8
Table Style Medium 9
Table Style Medium 10
Table Style Medium 11
Table Style Medium 12
Table Style Medium 13
Table Style Medium 14
Table Style Medium 15
Table Style Medium 16
Table Style Medium 17
Table Style Medium 18
Table Style Medium 19
Table Style Medium 20
Table Style Medium 21
Table Style Medium 22
Table Style Medium 23
Table Style Medium 24
Table Style Medium 25
Table Style Medium 26
Table Style Medium 27
Table Style Medium 28
Table Style Dark 1
Table Style Dark 2
Table Style Dark 3
Table Style Dark 4
Table Style Dark 5
Table Style Dark 6
Table Style Dark 7
Table Style Dark 8
Table Style Dark 9
Table Style Dark 10
Table Style Dark 11
Specifies how the text is aligned horizontally.
Left
Justify
Center
Right
Distributed
Specifies how the text is aligned vertically.
Top
Justify
Center
Bottom
Distributed
Specifies how the comment is oriented.
Horizontal
The text characters are arranged in a top-down direction
Rotated 270 degrees
Rotated 90 degrees
Specifies how line dashes are styled
Solid
Short dash
Short dot
Short dash dot
Short dash dot dot
Dot
Dash
Long dash
Dash dot
Long dash dot
Long dash dot dot
Encapsulates properties and methods for cell comments.
Set the comment text.
The comment text.
Set the comment text given rich text content.
The rich text content
Set the position of the comment box. NOTE: This isn't an exact science. The positioning depends on the DPI of the computer's screen.
Top position of the comment box based on row index. For example, 0.5 means at the half-way point of the 1st row, 2.5 means at the half-way point of the 3rd row.
Left position of the comment box based on column index. For example, 0.5 means at the half-way point of the 1st column, 2.5 means at the half-way point of the 3rd column.
Set the position of the comment box given the top and left margins measured in points. It is suggested to use SetPosition() instead. This method is provided as a means of convenience. NOTE: This isn't an exact science. The positioning depends on the DPI of the computer's screen.
Top margin in points. This is measured from the top-left corner of the cell A1.
Left margin in points. This is measured from the top-left corner of the cell A1.
Set the dash style of the comment box.
The dash style.
Set the dash style of the comment box.
The dash style.
The end cap of the lines.
The author of the comment.
Set true to automatically size the comment box according to the comment's contents.
Width of comment box in units of points. For practical purposes, the width is a minimum of 1 pt.
Height of comment box in units of points. For practical purposes, the height is a minimum of 1 pt.
Fill properties. Note that this is repurposed, and some of the methods and properties can't be
directly translated to a VML-equivalent (which is how comment styles are stored).
The transparency value of the first gradient point measured in percentage, ranging from 0% to 100% (both inclusive).
The transparency value of the last gradient point measured in percentage, ranging from 0% to 100% (both inclusive).
Set null for automatic color.
Line weight in points.
Line style.
Horizontal text alignment.
Vertical text alignment.
Comment text orientation.
Comment text direction.
Specifies whether the comment box has a shadow.
Specifies the color of the comment box's shadow.
Specifies whether the comment is visible.
Data field function values.
Average
Count non-empty cells
Count numbers
Maximum
Minimum
Product
Standard deviation
Sum
Variance
If true, then SheetTableName is a table name. Otherwise it's a worksheet name.
Conditional formatting options for data bars.
Initializes an instance of SLDataBarOptions.
Initializes an instance of SLDataBarOptions.
Built-in data bar type.
Initializes an instance of SLDataBarOptions.
True if Excel 2010 specific data bar is to be used. False otherwise.
Initializes an instance of SLDataBarOptions.
Built-in data bar type.
True if Excel 2010 specific data bar is to be used. False otherwise.
The conditional format type for the minimum value. If "Automatic" is used, Excel 2010 specific data bars will be used.
The minimum value.
The conditional format type for the maximum value. If "Automatic" is used, Excel 2010 specific data bars will be used.
The maximum value.
The fill color.
The border color.
The fill color for negative values.
The border color for negative values.
The axis color.
The minimum length of the data bar as a percentage of the cell width. The default value is 10.
The maximum length of the data bar as a percentage of the cell width. The default value is 90. It is recommended to keep this to a maximum (haha) of 100.
Specifies if only the data bar is shown. Set to false to show both data bar and value.
Specifies if there's a border. This is an Excel 2010 specific feature.
Specifies if the fill color has a gradient. This is an Excel 2010 specific feature.
The bar direction. This is an Excel 2010 specific feature.
Specifies if the fill color for negative values is the same as the positive one. This is an Excel 2010 specific feature.
Specifies if the border color for negative values is the same as the positive one. This is an Excel 2010 specific feature.
Specifies the axis position. This is an Excel 2010 specific feature.
Conditional formatting options for five icon sets.
Initializes an instance of SLFiveIconSetOptions.
The type of icon set.
Specifies if the icons in the set are reversed.
Specifies if only the icon is shown. Set to false to show both icon and value.
The 1st icon.
The 2nd icon.
The 3rd icon.
The 4th icon.
The 5th icon.
Specifies if values are to be greater than or equal to the 2nd range value. Set to false if values are to be strictly greater than.
Specifies if values are to be greater than or equal to the 3rd range value. Set to false if values are to be strictly greater than.
Specifies if values are to be greater than or equal to the 4th range value. Set to false if values are to be strictly greater than.
Specifies if values are to be greater than or equal to the 5th range value. Set to false if values are to be strictly greater than.
The 2nd range value.
The 3rd range value.
The 4th range value.
The 5th range value.
The conditional format type for the 2nd range value.
The conditional format type for the 3rd range value.
The conditional format type for the 4th range value.
The conditional format type for the 5th range value.
Encapsulates properties and methods for specifying soft edges.
This simulates the DocumentFormat.OpenXml.Drawing.SoftEdge class.
Set no soft edge.
Also known as "Size", and is measured in points. The suggested range is 0 pt to 100 pt (both inclusive).
Encapsulates properties and methods for setting major gridlines in charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.MajorGridlines class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Line properties.
Shadow properties.
Glow properties.
Soft edge properties.
Encapsulates properties and methods for setting data label options for charts.
Set custom label text.
The custom text.
Set custom label text.
The custom text in rich text format.
Reset the label text. This removes any custom label text.
Encapsulates properties and methods for setting a color. This includes using theme colors. This simulates the DocumentFormat.OpenXml.Spreadsheet.Color class.
Whether the color value is empty.
True if the color value is empty. False otherwise.
Set a color using a theme color.
The theme color to be used.
Set a color using a theme color, modifying the theme color with a tint value.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The color value.
Encapsulates properties and methods for representing a merged cell range. This simulates the DocumentFormat.OpenXml.Spreadsheet.MergeCell class.
The actual merging of cells is done by a SLDocument function. This class is for supporting purposes.
Initializes an instance of SLMergeCell.
Form a SLMergeCell given a corner cell of the to-be-merged rectangle of cells, and the opposite corner cell. For example, the top-left corner cell and the bottom-right corner cell. Or the bottom-left corner cell and the top-right corner cell.
The row index of the corner cell.
The column index of the corner cell.
The row index of the opposite corner cell.
The column index of the opposite corner cell.
Form a SLMergeCell from a DocumentFormat.OpenXml.Spreadsheet.MergeCell class.
The source DocumentFormat.OpenXml.Spreadsheet.MergeCell class.
Form a DocumentFormat.OpenXml.Spreadsheet.MergeCell class from this SLMergeCell class.
A DocumentFormat.OpenXml.Spreadsheet.MergeCell class.
The row index of the top row in the merged cell range. This is read-only.
The column index of the left column in the merged cell range. This is read-only.
The row index of the bottom row in the merged cell range. This is read-only.
The column index of the right column in the merged cell range. This is read-only.
Indicates if the merged cell range is valid. This is read-only.
Encapsulates properties and methods for up bars.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.UpBars class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
Chart customization options for stock charts.
Initializes an instance of SLStockChartOptions. It is recommended to use SLChart.CreateStockChartOptions().
The gap width between columns as a percentage of column width, ranging between 0% and 500% (both inclusive). The default is 150%.
This only applies when there's Volume data.
The amount of overlapping for columns, ranging from -100 to 100 (both inclusive). The default is 0.
This only applies when there's Volume data.
Fill properties for Volume data.
Border properties for Volume data.
Shadow properties for Volume data.
Glow properties for Volume data.
Soft edge properties for Volume data.
3D format properties for Volume data.
Indicates if the stock chart has drop lines.
Drop lines properties.
Indicates if the stock chart has high-low lines.
High-low lines properties.
Indicates if the stock chart has up-down bars.
Up-down bars properties.
General chart customization options on chart creation.
Initializes an instance of SLCreateChartOptions.
True if rows contain the data series. False if columns contain the data series.
Set to null if SpreadsheetLight is to determine data series orientation.
If the number of columns in a given cell range is more than or equal to the
number of rows, then it's decided that rows contain data series (else it's columns).
The default value is null.
True if hidden data is used in the chart. False otherwise.
The default value is false.
True to use default chart styling from latest version of Excel
(but no guarantees on conformity or Excel version). False otherwise.
The default value is true.
Encapsulates properties and methods for setting the back wall of 3D charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.BackWall class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
3D rotation properties.
Encapsulates properties and methods for cell content protection. The properties don't take effect unless the worksheet is protected. This simulates the DocumentFormat.OpenXml.Spreadsheet.Protection class.
Initializes an instance of SLProtection.
Specifies if the cell is locked. If locked and the worksheet is protected, then the worksheet's protection options are ignored.
Specifies if the cell is hidden. If hidden and the worksheet is protected, then cell contents are hidden and only cell values are displayed. For example, the cell formula is hidden, but the value of the cell formula is still displayed.
Specifies gradient shading style options.
Gradient with color 1 at the top to color 2 at the bottom.
Gradient with color 2 at the top to color 1 at the bottom.
Gradient with color 1 at the top to color 2 in the middle, to color 1 at the bottom.
Gradient with color 1 on the left to color 2 on the right.
Gradient with color 2 on the left to color 1 on the right.
Gradient with color 1 on the left to color 2 in the middle, to color 1 on the right.
Gradient with color 1 at top-left corner to color 2 at bottom-right corner.
Gradient with color 2 at top-left corner to color 1 at the bottom-right corner.
Gradient with color 1 at top-left corner to color 2 in the middle, to color 1 at the bottom-right corner.
Gradient with color 1 at the top-right corner to color 2 at the bottom-left corner.
Gradient with color 2 at the top-right corner to color 1 at the bottom-left corner.
Gradient with color 1 at the top-right corner to color 2 in the middle, to color 1 at the bottom-left corner.
Gradient with color 1 at the top-left corner, and color 2 at the top-right, bottom-left and bottom-right corners.
Gradient with color 1 at the top-right corner, and color 2 at the top-left, bottom-left and bottom-right corners.
Gradient with color 1 at the bottom-left corner, and color 2 at the top-left, top-right and bottom-right corners.
Gradient with color 1 at the bottom-right corner, and color 2 at the top-left, top-right and bottom-left corners.
Gradient with color 1 in the center, and color 2 at the four corners.
Encapsulates properties and methods for specifying fill options, such as foreground and background colors.
This simulates the DocumentFormat.OpenXml.Spreadsheet.Fill class.
Initializes an instance of SLFill. It is recommended to use CreateFill() of the SLDocument class.
Set the foreground color.
The color to be used.
Set the foreground color with one of the theme colors.
The theme color to be used.
Set the foreground color with one of the theme colors, modifying the theme color with a tint value.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the background color.
The color to be used.
Set the background color with a theme color.
The theme color to be used.
Set the background color with one of the theme colors, modifying the theme color with a tint value.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the pattern type.
The pattern type. Default value is None.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The color to be used for the foreground.
The color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The color to be used for the foreground.
The theme color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The color to be used for the foreground.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The theme color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The theme color to be used for the background.
Set the pattern type, foreground color and background color of the fill pattern.
The pattern type. Default value is None.
The theme color to be used for the foreground.
The tint applied to the foreground theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The theme color to be used for the background.
The tint applied to the background theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a custom gradient fill. Used in conjunction with AppendGradientStop().
The gradient fill type. Default value is Linear.
The angle in the direction from which the first color starts. The end color is at 180 degrees from this angle. 0 degrees means start from left, 90 degrees from the top, 180 degrees from the right and 270 degrees from below.
Specifies position of the first color at the left edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the left edge of the cell, and 1.0 means it's on the right edge.
Specifies position of the first color at the right edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the left edge of the cell, and 1.0 means it's on the right edge.
Specifies position of the first color at the top edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the top edge of the cell, and 1.0 means it's on the bottom edge.
Specifies position of the first color at the bottom edge, ranging 0.0 to 1.0. A 0.0 means the position is on the top edge of the cell, and 1.0 means it's on the bottom edge.
Set a gradient stop given a position and a color. Used in conjunction with SetCustomGradient().
Specifies position of the color, ranging from 0.0 to 1.0.
The color to be used.
Set a gradient stop given a position and a color. Used in conjunction with SetCustomGradient().
Specifies position of the color, ranging from 0.0 to 1.0.
The theme color to be used.
Set a gradient stop given a position and a color. Used in conjunction with SetCustomGradient().
Specifies position of the color, ranging from 0.0 to 1.0.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Clear all existing gradient stops.
Color of the foreground. This is read-only. Use one of the methods to set the color.
Color of the background. This is read-only. Use one of the methods to set the color.
Pattern type of the fill. This is read-only. Use one of the methods to set the pattern type.
Gradient type of the fill. This is read-only. Use one of the methods to set the gradient type.
The angle in the direction from which the first color starts. The end color is at 180 degrees from this angle. 0 degrees means start from left, 90 degrees from the top, 180 degrees from the right and 270 degrees from below.
This is read-only. Use one of the methods to set the angle.
Specifies position of the first color at the left edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the left edge of the cell, and 1.0 means it's on the right edge.
This is read-only. Use one of the methods to set the position.
Specifies position of the first color at the right edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the left edge of the cell, and 1.0 means it's on the right edge.
This is read-only. Use one of the methods to set the position.
Specifies position of the first color at the top edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the top edge of the cell, and 1.0 means it's on the bottom edge.
This is read-only. Use one of the methods to set the position.
Specifies position of the first color at the bottom edge, ranging 0.0 to 1.0. A 0.0 means the position is on the top edge of the cell, and 1.0 means it's on the bottom edge.
This is read-only. Use one of the methods to set the position.
Encapsulates properties and methods for a pattern fill. This simulates the DocumentFormat.OpenXml.Spreadsheet.PatternFill class.
Initializes an instance of SLPatternFill. It is recommended to use CreatePatternFill() of the SLDocument class.
Set the foreground color with a theme color.
The theme color to be used.
Set the foreground color with a theme color.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the background color with a theme color.
The theme color to be used.
Set the background color with a theme color.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Form SLPatternFill from DocumentFormat.OpenXml.Spreadsheet.PatternFill class.
The source PatternFill class.
Form a DocumentFormat.OpenXml.Spreadsheet.PatternFill class from SLPatternFill.
A DocumentFormat.OpenXml.Spreadsheet.PatternFill class with the properties of this SLPatternFill class.
The foreground color.
The background color.
The pattern type. Default value is None.
Encapsulates properties and methods for gradient fills. This simulates the DocumentFormat.OpenXml.Spreadsheet.GradientFill class.
Initializes an instance of SLGradientFill. It is recommended to use CreateGradientFill() of the SLDocument class.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color as one of the theme colors.
Set a gradient fill given the shading style and 2 colors.
The gradient shading style.
The first color as one of the theme colors.
The tint applied to the first theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The second color as one of the theme colors.
The tint applied to the second theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Clear all existing gradient stops.
Set a custom gradient fill. Used in conjunction with AppendGradientStop().
The gradient fill type. Default value is Linear.
The angle in the direction from which the first color starts. The end color is at 180 degrees from this angle. 0 degrees means start from left, 90 degrees from the top, 180 degrees from the right and 270 degrees from below.
Specifies position of the first color at the left edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the left edge of the cell, and 1.0 means it's on the right edge.
Specifies position of the first color at the right edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the left edge of the cell, and 1.0 means it's on the right edge.
Specifies position of the first color at the top edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the top edge of the cell, and 1.0 means it's on the bottom edge.
Specifies position of the first color at the bottom edge, ranging 0.0 to 1.0. A 0.0 means the position is on the top edge of the cell, and 1.0 means it's on the bottom edge.
Set a gradient stop given a position and a color. Used in conjunction with SetCustomGradient().
Specifies position of the color, ranging from 0.0 to 1.0.
The color to be used.
Set a gradient stop given a position and a color. Used in conjunction with SetCustomGradient().
Specifies position of the color, ranging from 0.0 to 1.0.
The theme color to be used.
Set a gradient stop given a position and a color. Used in conjunction with SetCustomGradient().
Specifies position of the color, ranging from 0.0 to 1.0.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Form SLGradientFill from DocumentFormat.OpenXml.Spreadsheet.GradientFill class.
The source DocumentFormat.OpenXml.Spreadsheet.GradientFill class.
Form a DocumentFormat.OpenXml.Spreadsheet.GradientFill class from SLGradientFill.
A DocumentFormat.OpenXml.Spreadsheet.GradientFill with the properties of this SLGradientFill.
The gradient type. Default value is Linear.
The angle in the direction from which the first color starts. The end color is at 180 degrees from this angle. 0 degrees means start from left, 90 degrees from the top, 180 degrees from the right and 270 degrees from below.
Specifies position of the first color at the left edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the left edge of the cell, and 1.0 means it's on the right edge.
Specifies position of the first color at the right edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the left edge of the cell, and 1.0 means it's on the right edge.
Specifies position of the first color at the top edge, ranging from 0.0 to 1.0. A 0.0 means the position is on the top edge of the cell, and 1.0 means it's on the bottom edge.
Specifies position of the first color at the bottom edge, ranging 0.0 to 1.0. A 0.0 means the position is on the top edge of the cell, and 1.0 means it's on the bottom edge.
Encapsulates properties and methods for columns. This simulates the DocumentFormat.OpenXml.Spreadsheet.Column class.
Initializes an instance of SLColumnProperties.
The default is A1. Not going to get the active cell from the worksheet.
This is purely for setting (not getting). If not A1, then we'll do stuff.
if null, then don't have to do anything
Encapsulates properties and methods for setting titles for charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.Title class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Set the title text.
The title text.
Set the title with a rich text string.
The rich text.
Title text. This returns the plain text version if rich text is applied.
Specifies if the title overlaps.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
This doubles for SortByTuple and Tuples
If true, use worksheet. If false, use consolidation. If null, use extension list.
The type of hyperlink.
Hyperlink to an existing web page.
Hyperlink to an existing file.
Hyperlink to a place within the spreadsheet (cell references or defined names).
Hyperlink to an email address.
The type of measurement unit.
English Metric Unit. No, not the bird...
Inch.
Centimeter.
Point.
The type of paste options.
Just plain pasting. Fanfare and choral singing each sold separately. *smile*
Paste only values (no formulas).
Paste values and formulas. NOTE: Formulas are copied as is (no recalculating cell references).
Transpose.
Paste only formatting (styles).
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
The theme color used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
This is read-only
Encapsulates properties and methods for specifying glow effects.
This simulates the DocumentFormat.OpenXml.Drawing.Glow class.
Set no glow.
Set the glow color.
The color used.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
The size in points. The suggested range is 0 pt to 150 pt (both inclusive).
Set the glow color.
The theme color used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
The size in points. The suggested range is 0 pt to 150 pt (both inclusive).
Data series customization options. Note that all supported chart data series properties are available, but only the relevant properties (to chart type) will be used.
Initializes an instance of SLDataSeriesOptions. It is recommended to use SLChart.GetDataSeriesOptions().
Fill properties.
Border/Line properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
Invert colors if negative. If null, the effective default is used (false). This is for bar charts, column charts and bubble charts.
Marker properties. This is for line charts, radar charts and scatter charts.
The explosion distance from the center of the pie in percentage. It is suggested to keep the range between 0% and 400%.
Whether the line connecting data points use C splines (instead of straight lines). This is for line charts and scatter charts.
The shape of data series for 3D bar and column charts.
Encapsulates 3D shape properties. Works together with SLRotation3D class.
This simulates some properties of DocumentFormat.OpenXml.Drawing.Scene3DType
and DocumentFormat.OpenXml.Drawing.Shape3DType classes. The reason for this mixing
is because Excel separates different properties from both classes into 2 separate sections
on the user interface (3-D Format and 3-D Rotation). Hence SLRotation3D and SLFormat3D
classes instead of straightforward mapping of the SDK Scene3DType and Shape3DType classes.
Set the top bevel.
The bevel type.
Bevel width ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Bevel height ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Remove the top bevel.
Set the bottom bevel.
The bevel type.
Bevel width ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Bevel height ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Remove the bottom bevel.
Remove any extrusion (or depth) settings.
Set the extrusion (or depth) color.
The color to be used.
Set the extrusion (or depth) color.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the extrusion.
The color to be used.
Extrusion height, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Set the extrusion.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Extrusion height, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Remove any contour settings.
Set the contour color.
The color to be used.
Set the contour color.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the contour.
The color to be used.
Contour width, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Set the contour.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Contour width, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Remove any lighting settings.
Specifies if there's a top bevel. This is read-only.
The bevel type of the top bevel. Default is circle.
Width of the top bevel, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Height of the top bevel, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Specifies if there's a bottom bevel. This is read-only.
The bevel type of the bottom bevel. Default is circle.
Width of the bottom bevel, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
Height of the bottom bevel, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
The extrusion color, also known as the depth color. This is read-only.
Extrusion height, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
The Microsoft Excel user interface uses the term "Depth".
The contour color. This is read-only.
Contour width, ranging from 0 pt to 2147483647 pt. However, a suggested maximum is 1584 pt. Accurate to 1/12700 of a point.
The Microsoft Excel user interface uses the term "Size".
The preset material used. Default is WarmMatte.
Specifies if there's lighting.
The type of lighting used.
Angle of the lighting, ranging from 0 degrees to 359.9 degrees. This is set only when is also set.
Chart customization options for bubble charts.
Initializes an instance of SLBubbleChartOptions.
Specifies if the bubbles have a 3D effect.
Scale factor in percentage of the default size, ranging from 0% to 300% (both inclusive). The default is 100%.
Specifies if negatively sized bubbles are shown.
Specifies how bubble sizes relate to the presentation of the bubbles.
This represents a cell reference in numeric index form.
Row index.
Column index.
Initializes an instance of SLCellPoint.
The row index.
The column index.
Returns the hash code for this instance.
The hash code.
Encapsulates page and print settings for a sheet (worksheets, chartsheets and dialogsheets).
This simulates DocumentFormat.OpenXml.Spreadsheet.SheetProperties, DocumentFormat.OpenXml.Spreadsheet.PrintOptions, DocumentFormat.OpenXml.Spreadsheet.PageMargins,
DocumentFormat.OpenXml.Spreadsheet.PageSetup, DocumentFormat.OpenXml.Spreadsheet.HeaderFooter and DocumentFormat.OpenXml.Spreadsheet.SheetView classes.
For chartsheets, the DocumentFormat.OpenXml.Spreadsheet.ChartSheetProperties (instead of SheetProperties) and
DocumentFormat.OpenXml.Spreadsheet.ChartSheetPageSetup (instead of PageSetup) classes are involved.
Initializes an instance of SLPageSettings. It is recommended to use GetPageSettings() of the SLDocument class.
Sets the tab color of the sheet.
The theme color to be used.
Sets the tab color of the sheet.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set normal margins.
Set wide margins.
Set narrow margins.
Adjust the page a given percentage of the normal size.
The scale percentage between 10% and 400%.
Fit to a given number of pages wide, and a given number of pages high.
Number of pages wide. Minimum is 1 page (default).
Number of pages high. Minimum is 1 page (default).
Append text to the odd-numbered page header.
The text to be appended.
Append text to the odd-numbered page header.
The font style of the text.
The text to be appended.
Append a format code to the odd-numbered page header.
The format code.
Append text to the odd-numbered page footer.
The text to be appended.
Append text to the odd-numbered page footer.
The font style of the text.
The text to be appended.
Append a format code to the odd-numbered page footer.
The format code.
Append text to the even-numbered page header.
The text to be appended.
Append text to the even-numbered page header.
The font style of the text.
The text to be appended.
Append a format code to the even-numbered page header.
The format code.
Append text to the even-numbered page footer.
The text to be appended.
Append text to the even-numbered page footer.
The font style of the text.
The text to be appended.
Append a format code to the even-numbered page footer.
The format code.
Append text to the first page header.
The text to be appended.
Append text to the first page header.
The font style of the text.
The text to be appended.
Append a format code to the first page header.
The format code.
Append text to the first page footer.
The text to be appended.
Append text to the first page footer.
The font style of the text.
The text to be appended.
Append a format code to the first page footer.
The format code.
Get the text from the left section of the header.
The text.
Get the text from the left section of the header.
The header type.
The text.
Get the text from the center section of the header.
The text.
Get the text from the center section of the header.
The header type.
The text.
Get the text from the right section of the header.
The text.
Get the text from the right section of the header.
The header type.
The text.
Get the text from the left section of the footer.
The text.
Get the text from the left section of the footer.
The footer type.
The text.
Get the text from the center section of the footer.
The text.
Get the text from the center section of the footer.
The footer type.
The text.
Get the text from the right section of the footer.
The text.
Get the text from the right section of the footer.
The footer type.
The text.
Set the text of the left section of the header.
The text.
Set the text of the left section of the header.
The header type.
The text.
Set the text of the center section of the header.
The text.
Set the text of the center section of the header.
The header type.
The text.
Set the text of the right section of the header.
The text.
Set the text of the right section of the header.
The header type.
The text.
Set the text of the left section of the footer.
The text.
Set the text of the left section of the footer.
The footer type.
The text.
Set the text of the center section of the footer.
The text.
Set the text of the center section of the footer.
The footer type.
The text.
Set the text of the right section of the footer.
The text.
Set the text of the right section of the footer.
The footer type.
The text.
Specifies if there's a tab color. This is read-only.
The tab color.
Show or hide the cell formulas. NOTE: This has nothing to do with the formula bar, but whether the sheet shows cell formulas instead of calculated results.
Show or hide the grid lines between rows and columns.
Show or hide the row and column headers.
Show or hide the ruler on the worksheet. The ruler is only seen when the worksheet view is in "page layout" mode.
Worksheet view type.
Zoom magnification for current view, ranging from 10% to 400%. If you want to set a zoom value for the page break view, make sure to set the View property to PageBreakPreview.
Zoom magnification for the normal view, ranging from 10% to 400%. A return value of 0% means the automatic setting is used.
If the view is set to normal, this value is ignored if ZoomScale is also set.
Zoom magnification for the page layout view, ranging from 10% to 400%. A return value of 0% means the automatic setting is used.
If the view is set to page layout, this value is ignored if ZoomScale is also set.
Center horizontally on page when printing. This doesn't apply to chart sheets.
Center vertically on page when printing. This doesn't apply to chart sheets.
Print row and column headings. This doesn't apply to chart sheets.
Print grid lines. This doesn't apply to chart sheets.
The left margin in inches.
The right margin in inches.
The top margin in inches.
The bottom margin in inches.
The header margin in inches.
The footer margin in inches.
The paper size. The default is Letter.
The page number set for the first printed page.
The printing scale. This is read-only. This doesn't apply to chart sheets.
The number of horizontal pages to fit into a printed page. This is read-only. Use the ScalePage() function to set. This doesn't apply to chart sheets.
The number of vertical pages to fit into a printed page. This is read-only. Use the ScalePage() function to set. This doesn't apply to chart sheets.
Page order when printed. This doesn't apply to chart sheets.
Page orientation.
Specifies if the page is printed in black and white.
Specifies if the page is printed in draft mode (without graphics).
Specifies how to print cell comments. This doesn't apply to chart sheets.
Specifies how to print for cells with errors. This doesn't apply to chart sheets.
Horizontal print resolution.
Vertical print resolution.
The number of copies to print. The minimum number is 1 copy. There are no maximum number of copies, however Excel uses 9999 copies as a maximum.
The text in the odd-numbered page header. Note that this is the default used.
The text in the odd-numbered page footer. Note that this is the default used.
The text in the even-numbered page header. Note that this only activates when is true.
The text in the even-numbered page footer. Note that this only activates when is true.
The text in the first page's header. Note that this only activates when is true.
The text in the first page's footer. Note that this only activates when is true.
Specifies if different headers and footers are set for odd- and even-numbered pages.
If false, then the text in odd-numbered page header and footer is used, even if there's text
set in even-numbered page header and footer.
Specifies if a different header and footer is set for the first page.
If false, any text set in the first page header and footer is ignored.
Scale with the document.
Align header and footer margins with page margins.
For NumberingCache and NumberLiteral
Conditional formatting options for four icon sets.
Initializes an instance of SLFourIconSetOptions.
The type of icon set.
Specifies if the icons in the set are reversed.
Specifies if only the icon is shown. Set to false to show both icon and value.
The 1st icon.
The 2nd icon.
The 3rd icon.
The 4th icon.
Specifies if values are to be greater than or equal to the 2nd range value. Set to false if values are to be strictly greater than.
Specifies if values are to be greater than or equal to the 3rd range value. Set to false if values are to be strictly greater than.
Specifies if values are to be greater than or equal to the 4th range value. Set to false if values are to be strictly greater than.
The 2nd range value.
The 3rd range value.
The 4th range value.
The conditional format type for the 2nd range value.
The conditional format type for the 3rd range value.
The conditional format type for the 4th range value.
Statistical information about a worksheet.
Initializes an instance of SLWorksheetStatistics. But it's quite useless on its own. Use GetWorksheetStatistics() of the SLDocument class.
Index of the first row used. This includes empty rows but might be styled. This returns -1 if the worksheet is empty (but check for negative values instead of -1 just in case). This is read-only.
Index of the first column used. This includes empty columns but might be styled. This returns -1 if the worksheet is empty (but check for negative values instead of -1 just in case). This is read-only.
Index of the last row used. This includes empty rows but might be styled. This returns -1 if the worksheet is empty (but check for negative values instead of -1 just in case). This is read-only.
Index of the last column used. This includes empty columns but might be styled. This returns -1 if the worksheet is empty (but check for negative values instead of -1 just in case). This is read-only.
Number of cells set in the worksheet. This is read-only.
Number of cells set in the worksheet that is empty. This could be that a style was set but no cell value given. This is read-only.
Number of rows in the worksheet. This includes empty rows (no cells in that row but a row style was applied, or that row only has empty cells). This is read-only.
Number of columns in the worksheet. This includes empty columns (no cells in that column but a column style was applied, or that column only has empty cells). This is read-only.
Encapsulates properties and methods for up-down bars.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.UpDownBars class.
The gap width between consecutive up-down bars as a percentage of the width of the bar, ranging from 0 to 500 (both inclusive).
The up bars.
The down bars.
This simulates the DocumentFormat.OpenXml.Spreadsheet.DefinedName class.
The text of the defined name.
The name of the defined name. Names starting with "_xlnm" are reserved.
User comment.
Custom menu text.
Description text.
Help topic for display.
Status bar text.
The sheet index (0-based indexing) that's the scope of the defined name. If null, the defined name applies to the entire spreadsheet.
Specifies if the defined name is hidden in the user interface. The default value is false.
Specifies if the defined name refers to a user-defined function. The default value is false.
Specifies if the defined name is related to an external function, command or executable code. The default value is false.
Specifies if the defined name is related to an external function, command or executable code. The default value is false.
Specifies the function group index if the defined name refers to a function. Refer to Open XML specifications for the meaning of the values. For example, 1 is for "Financial" and 2 is for "Date and Time".
Specifies the keyboard shortcut for the defined name.
Specifies if the defined name is included in a spreadsheet that's published or rendered on a web or application server. The default value is false.
Specifies that the defined name is used as a parameter of a spreadsheet that's published or rendered on a web or application server. The default value is false.
Built-in data bar types.
Blue data bar
Green data bar
Red data bar
Orange data bar
Light blue data bar
Purple data bar
Built-in color scale types.
Green - Yellow - Red color scale
Red - Yellow - Green color scale
Blue - Yellow - Red color scale
Red - Yellow - Blue color scale
Green - White - Red color scale
Red - White - Green color scale
Blue - White - Red color scale
Red - White - Blue color scale
White - Red color scale
Red - White color scale
Green - White color scale
White - Green color scale
Yellow - Red color scale
Red - Yellow color scale
Green - Yellow color scale
Yellow - Green color scale
Conditional format type including minimum and maximum types.
The underlying engine will assign a minimum or maximum depending on the parameter this value is used on.
Number
Percent
Formula
Percentile
Conditional format type including minimum and maximum and automatic types.
The underlying engine will assign a minimum or maximum depending on the parameter this value is used on.
Number
Percent
Formula
Percentile
Automatic. The underlying engine will assign a minimum or maximum depending on the parameter this value is used on. This is an Excel 2010 specific feature.
Conditional format type excluding minimum and maximum and automatic types.
Number
Percent
Formula
Percentile
5 arrows
5 arrows (gray)
5 boxes
5 quarters
5 ratings
4 arrows
4 arrows (gray)
4 ratings
4 red To black
4 traffic lights
3 arrows
3 arrows (gray)
3 flags
3 signs
3 stars
3 symbols circled
3 symbols
3 traffic lights
3 traffic lights black
3 triangles
Icon set type for five icons.
5 arrows
5 arrows (gray)
5 boxes. This is an Excel 2010 specific feature.
5 quarters
5 ratings
Icon set type for four icons.
4 arrows
4 arrows (gray)
4 ratings
4 red To black
4 traffic lights
Icon set type for three icons.
3 arrows
3 arrows (gray)
3 flags
3 signs
3 stars. This is an Excel 2010 specific feature.
3 symbols circled
3 symbols
3 traffic lights
3 traffic lights black
3 triangles. This is an Excel 2010 specific feature.
Icon types.
No icon.
Green up arrow.
Yellow side arrow.
Red down arrow.
Gray up arrow.
Gray side arrow.
Gray down arrow.
Green flag.
Yellow flag.
Red flag.
Green circle.
Yellow circle.
Red circle with border.
Black circle with border.
Green traffic light.
Yellow traffic light.
Red traffic light.
Yellow triangle.
Red diamond.
Green check symbol.
Yellow exclamation symbol.
Red cross symbol.
Green check.
Yellow exclamation.
Red cross.
Yellow up incline arrow.
Yellow down incline arrow.
Gray up incline arrow.
Gray down incline arrow.
Red circle.
Pink circle.
Gray circle.
Black circle.
Circle with one white quarter.
Circle with two white quarters.
Circle with three white quarters.
White circle (all white quarters).
Signal meter with no filled bars.
Signal meter with one filled bar.
Signal meter with two filled bars.
Signal meter with three filled bars.
Signal meter with four filled bars.
Gold star.
Half gold star.
Silver star.
Green up triangle.
Yellow dash.
Red down triangle.
Four filled boxes.
Three filled boxes.
Two filled boxes.
One filled box.
Zero filled boxes.
Built-in cell highlighting styles
Light red background fill with dark red text
Yellow background fill with dark yellow text
Green background fill with dark green text
Light red background fill
Red text
Red borders
Options on the average value for the selected range.
Above the average
Below the average
Equal to or above the average
Equal to or below the average
1 standard deviation above the average
1 standard deviation below the average
2 standard deviations above the average
2 standard deviations below the average
3 standard deviations above the average
3 standard deviations below the average
Encapsulates properties and methods for conditional formatting. This simulates the DocumentFormat.OpenXml.Spreadsheet.ConditionalFormatting class.
Initializes an instance of SLConditionalFormatting, given cell references of opposite cells in a cell range.
The cell reference of the start cell of the cell range to be conditionally formatted, such as "A1". This is typically the top-left cell.
The cell reference of the end cell of the cell range to be conditionally formatted, such as "A1". This is typically the bottom-right cell.
Initializes an instance of SLConditionalFormatting, given row and column indices of opposite cells in a cell range.
The row index of the start row. This is typically the top row.
The column index of the start column. This is typically the left-most column.
The row index of the end row. This is typically the bottom row.
The column index of the end column. This is typically the right-most column.
Set a data bar formatting with built-in types.
A built-in data bar type.
Set a custom data bar formatting.
True to show only the data bar. False to show both data bar and value.
The minimum length of the data bar as a percentage of the cell width. The default value is 10.
The maximum length of the data bar as a percentage of the cell width. The default value is 90.
The conditional format type for the shortest bar.
The value for the shortest bar. If is Value, you can just set this to "0".
The conditional format type for the longest bar.
The value for the longest bar. If is Value, you can just set this to "0".
The color of the data bar.
Set a custom data bar formatting.
True to show only the data bar. False to show both data bar and value.
The minimum length of the data bar as a percentage of the cell width. The default value is 10.
The maximum length of the data bar as a percentage of the cell width. The default value is 90.
The conditional format type for the shortest bar.
The value for the shortest bar. If is Value, you can just set this to "0".
The conditional format type for the longest bar.
The value for the longest bar. If is Value, you can just set this to "0".
The theme color to be used for the data bar.
Set a custom data bar formatting.
True to show only the data bar. False to show both data bar and value.
The minimum length of the data bar as a percentage of the cell width. The default value is 10.
The maximum length of the data bar as a percentage of the cell width. The default value is 90.
The conditional format type for the shortest bar.
The value for the shortest bar. If is Value, you can just set this to "0".
The conditional format type for the longest bar.
The value for the longest bar. If is Value, you can just set this to "0".
The theme color to be used for the data bar.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a custom data bar formatting.
Data bar options.
Set a color scale formatting with built-in types.
A built-in color scale type.
Set a custom 2-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The color for the minimum.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The color for the maximum.
Set a custom 2-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The color for the minimum.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The theme color for the maximum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a custom 2-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The theme color for the minimum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The color for the maximum.
Set a custom 2-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The theme color for the minimum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The theme color for the maximum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a custom 3-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The color for the minimum.
The conditional format type for the midpoint.
The value for the midpoint.
The color for the midpoint.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The color for the maximum.
Set a custom 3-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The color for the minimum.
The conditional format type for the midpoint.
The value for the midpoint.
The color for the midpoint.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The theme color for the maximum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a custom 3-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The color for the minimum.
The conditional format type for the midpoint.
The value for the midpoint.
The theme color for the midpoint.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The color for the maximum.
Set a custom 3-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The color for the minimum.
The conditional format type for the midpoint.
The value for the midpoint.
The theme color for the midpoint.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The theme color for the maximum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a custom 3-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The theme color for the minimum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the midpoint.
The value for the midpoint.
The color for the midpoint.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The color for the maximum.
Set a custom 3-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The theme color for the minimum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the midpoint.
The value for the midpoint.
The color for the midpoint.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The theme color for the maximum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set a custom 3-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The theme color for the minimum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the midpoint.
The value for the midpoint.
The theme color for the midpoint.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The color for the maximum.
Set a custom 3-color scale.
The conditional format type for the minimum.
The value for the minimum. If is Value, you can just set this to "0".
The theme color for the minimum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the midpoint.
The value for the midpoint.
The theme color for the midpoint.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
The conditional format type for the maximum.
The value for the maximum. If is Value, you can just set this to "0".
The theme color for the maximum.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set an icon set formatting with built-in types.
A built-in icon set type.
Set a custom 3-icon set.
The type of 3-icon set.
True to reverse the order of the icons. False to use the default order.
True to show only icons. False to show both icon and value.
True if values are to be greater than or equal to the 2nd range value. False if values are to be strictly greater than.
The 2nd range value.
The conditional format type for the 2nd range value.
True if values are to be greater than or equal to the 3rd range value. False if values are to be strictly greater than.
The 3rd range value.
The conditional format type for the 3rd range value.
Set a custom 4-icon set.
The type of 4-icon set.
True to reverse the order of the icons. False to use the default order.
True to show only icons. False to show both icon and value.
True if values are to be greater than or equal to the 2nd range value. False if values are to be strictly greater than.
The 2nd range value.
The conditional format type for the 2nd range value.
True if values are to be greater than or equal to the 3rd range value. False if values are to be strictly greater than.
The 3rd range value.
The conditional format type for the 3rd range value.
True if values are to be greater than or equal to the 4th range value. False if values are to be strictly greater than.
The 4th range value.
The conditional format type for the 4th range value.
Set a custom 5-icon set.
The type of 5-icon set.
True to reverse the order of the icons. False to use the default order.
True to show only icons. False to show both icon and value.
True if values are to be greater than or equal to the 2nd range value. False if values are to be strictly greater than.
The 2nd range value.
The conditional format type for the 2nd range value.
True if values are to be greater than or equal to the 3rd range value. False if values are to be strictly greater than.
The 3rd range value.
The conditional format type for the 3rd range value.
True if values are to be greater than or equal to the 4th range value. False if values are to be strictly greater than.
The 4th range value.
The conditional format type for the 4th range value.
True if values are to be greater than or equal to the 5th range value. False if values are to be strictly greater than.
The 5th range value.
The conditional format type for the 5th range value.
Set a custom 3-icon set.
3-icon set options.
Set a custom 4-icon set.
4-icon set options.
Set a custom 5-icon set.
5-icon set options.
Highlight cells with values greater than a given value.
True for greater than or equal to. False for strictly greater than.
The value to be compared with.
A built-in highlight style.
Highlight cells with values greater than a given value.
True for greater than or equal to. False for strictly greater than.
The value to be compared with.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values less than a given value.
True for less than or equal to. False for strictly less than.
The value to be compared with.
A built-in highlight style.
Highlight cells with values less than a given value.
True for less than or equal to. False for strictly less than.
The value to be compared with.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values between 2 given values.
True for between the 2 given values. False for not between the 2 given values.
The 1st value to be compared with.
The 2nd value to be compared with.
A built-in highlight style.
Highlight cells with values between 2 given values.
True for between the 2 given values. False for not between the 2 given values.
The 1st value to be compared with.
The 2nd value to be compared with.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values equal to a given value.
True for equal to given value. False for not equal to given value.
The value to be compared with.
A built-in highlight style.
Highlight cells with values equal to a given value.
True for equal to given value. False for not equal to given value.
The value to be compared with.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values containing a given value.
True for containing given value. False for not containing given value.
The value to be compared with.
A built-in highlight style.
Highlight cells with values containing a given value.
True for containing given value. False for not containing given value.
The value to be compared with.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values beginning with a given value.
The value to be compared with.
A built-in highlight style.
Highlight cells with values beginning with a given value.
The value to be compared with.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values ending with a given value.
The value to be compared with.
A built-in highlight style.
Highlight cells with values ending with a given value.
The value to be compared with.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells that are blank.
True for containing blanks. False for not containing blanks.
A built-in highlight style.
Highlight cells that are blank.
True for containing blanks. False for not containing blanks.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells containing errors.
True for containing errors. False for not containing errors.
A built-in highlight style.
Highlight cells containing errors.
True for containing errors. False for not containing errors.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with date values occurring according to a given time period.
A given time period.
A built-in highlight style.
Highlight cells with date values occurring according to a given time period.
A given time period.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with duplicate values.
A built-in highlight style.
Highlight cells with duplicate values.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with unique values.
A built-in highlight style.
Highlight cells with unique values.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values in the top/bottom range.
True if in the top range. False if in the bottom range.
The value of X in "Top/Bottom X". If is true, then X refers to X%, otherwise it's X number of items.
True if referring to percentage. False if referring to number of items.
A built-in highlight style.
Highlight cells with values in the top/bottom range.
True if in the top range. False if in the bottom range.
The value of X in "Top/Bottom X". If is true, then X refers to X%, otherwise it's X number of items.
True if referring to percentage. False if referring to number of items.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values compared to the average.
The type of comparison to the average.
A built-in highlight style.
Highlight cells with values compared to the average.
The type of comparison to the average.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Highlight cells with values according to a formula.
The formula to apply.
A built-in highlight style.
Highlight cells with values according to a formula.
The formula to apply.
A custom formatted style. Note that only number formats, fonts, borders and fills are used. Note further that for fonts, only italic/bold, underline, color and strikethrough settings are used.
Encapsulates properties and methods for specifying worksheet protection. This simulates the DocumentFormat.OpenXml.Spreadsheet.SheetProtection class.
Initializes an instance of SLSheetProtection.
Allow editing of objects even if sheet is protected.
Allow editing of scenarios even if sheet is protected.
Allow formatting of cells even if sheet is protected.
Allow formatting of columns even if sheet is protected.
Allow formatting of rows even if sheet is protected.
Allow insertion of columns even if sheet is protected.
Allow insertion of rows even if sheet is protected.
Allow insertion of hyperlinks even if sheet is protected.
Allow deletion of columns even if sheet is protected.
Allow deletion of rows even if sheet is protected.
Allow selection of locked cells even if sheet is protected.
Allow sorting even if sheet is protected.
Allow use of autofilters even if sheet is protected.
Allow use of pivot tables even if sheet is protected.
Allow selection of unlocked cells even if sheet is protected.
Encapsulates properties and methods for specifying shadow effects.
This simulates the DocumentFormat.OpenXml.Drawing.InnerShadow and DocumentFormat.OpenXml.Drawing.OuterShadow classes.
Set the shadow color.
The color to be used.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Set the shadow color.
The theme color used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Set a shadow using a preset.
The preset to be used.
doubles as HasShadow variable
The shadow color.
Transparency of the shadow color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Specifies the size of the shadow in percentage. While there's no restriction in range, consider a range of 1% to 200%. Accurate to 1/1000th of a percent.
Shadow blur, ranging from 0 pt to 2147483647 pt (but consider a maximum of 100 pt). Accurate to 1/12700 of a point.
Angle of shadow projection, ranging from 0 degrees to 359.9 degrees. 0 degrees means the shadow is to the right of the picture, 90 degrees means it's below, 180 degrees means it's to the left and 270 degrees means it's above. Accurate to 1/60000 of a degree. Default value is 0 degrees.
Distance of shadow away from source object, ranging from 0 pt to 2147483647 pt (but consider a maximum of 200 pt). Accurate to 1/12700 of a point. Default value is 0 pt.
The position in percentage ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Encapsulates properties and methods for fonts. This simulates the DocumentFormat.OpenXml.Spreadsheet.Font class.
Initializes an instance of SLFont. It is recommended to use CreateFont() of the SLDocument class.
Set the font, given a font name and font size.
The name of the font to be used.
The size of the font in points.
Set the font, given a font scheme and font size.
The font scheme. If None is given, the current theme's minor font will be used (but if the theme is changed, the text remains as of the old theme's minor font instead of the new theme's minor font).
The size of the font in points.
Set the font color with one of the theme colors.
The theme color to be used.
Set the font color with one of the theme colors, modifying the theme color with a tint value.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Clone a new instance of SLFont with identical font settings.
An SLFont object with identical font settings.
Name of the font.
The font character set of the font text. It is recommended not to explicitly set this property. This is used when the given font name is not available on the computer, and a suitable alternative font is used. The character set value is operating system dependent. Possible value (not exhaustive): 0 - ANSI_CHARSET, 1 - DEFAULT_CHARSET, 2 - SYMBOL_CHARSET.
The font family of the font text. It is recommended not to explicitly set this property. Values as follows (might not be exhaustive): 0 - Not applicable, 1 - Roman, 2 - Swiss, 3 - Modern, 4 - Script, 5 - Decorative.
Specifies if the font text should be in bold.
Specifies if the font text should be in italic.
Specifies if the font text should have a strikethrough.
Specifies if the inner and outer borders of each character of the font text should be displayed. This makes the font text appear as if in bold.
Specifies if there's a shadow behind and at the bottom-right of the font text. It is a Macintosh compatibility setting.
It is recommended not to use this property because SpreadsheetML applications are not required to use this property.
Specifies if the font text should be squeezed together. It is a Macintosh compatibility setting.
It is recommended not to use this property because SpreadsheetML applications are not required to use this property.
Specifies if the font text should be stretched out. It is a legacy spreadsheet compatibility setting.
It is recommended not to use this property because SpreadsheetML applications are not required to use this property.
The color of the font text.
The size of the font text in points (1 point is 1/72 of an inch).
Specifies the underline formatting style of the font text.
Specifies the vertical position of the font text.
Specifies the font scheme. Used particularly as part of a theme definition. A major font scheme is usually used for heading text. A minor font scheme is used for body text.
Encapsulates properties and methods for specifying incremental formatting. This simulates the DocumentFormat.OpenXml.Spreadsheet.DifferentialFormat and DocumentFormat.OpenXml.Office2010.Excel.DifferentialType classes.
Initializes an instance of SLDifferentialFormat.
The alignment for incremental formatting.
The protection settings for incremental formatting.
The numbering format for incremental formatting.
The font for incremental formatting.
The fill for incremental formatting.
The border for incremental formatting.
Pivot Style Light 1
Pivot Style Light 2
Pivot Style Light 3
Pivot Style Light 4
Pivot Style Light 5
Pivot Style Light 6
Pivot Style Light 7
Pivot Style Light 8
Pivot Style Light 9
Pivot Style Light 10
Pivot Style Light 11
Pivot Style Light 12
Pivot Style Light 13
Pivot Style Light 14
Pivot Style Light 15
Pivot Style Light 16
Pivot Style Light 17
Pivot Style Light 18
Pivot Style Light 19
Pivot Style Light 20
Pivot Style Light 21
Pivot Style Light 22
Pivot Style Light 23
Pivot Style Light 24
Pivot Style Light 25
Pivot Style Light 26
Pivot Style Light 27
Pivot Style Light 28
Pivot Style Medium 1
Pivot Style Medium 2
Pivot Style Medium 3
Pivot Style Medium 4
Pivot Style Medium 5
Pivot Style Medium 6
Pivot Style Medium 7
Pivot Style Medium 8
Pivot Style Medium 9
Pivot Style Medium 10
Pivot Style Medium 11
Pivot Style Medium 12
Pivot Style Medium 13
Pivot Style Medium 14
Pivot Style Medium 15
Pivot Style Medium 16
Pivot Style Medium 17
Pivot Style Medium 18
Pivot Style Medium 19
Pivot Style Medium 20
Pivot Style Medium 21
Pivot Style Medium 22
Pivot Style Medium 23
Pivot Style Medium 24
Pivot Style Medium 25
Pivot Style Medium 26
Pivot Style Medium 27
Pivot Style Medium 28
Pivot Style Dark 1
Pivot Style Dark 2
Pivot Style Dark 3
Pivot Style Dark 4
Pivot Style Dark 5
Pivot Style Dark 6
Pivot Style Dark 7
Pivot Style Dark 8
Pivot Style Dark 9
Pivot Style Dark 10
Pivot Style Dark 11
Pivot Style Dark 12
Pivot Style Dark 13
Pivot Style Dark 14
Pivot Style Dark 15
Pivot Style Dark 16
Pivot Style Dark 17
Pivot Style Dark 18
Pivot Style Dark 19
Pivot Style Dark 20
Pivot Style Dark 21
Pivot Style Dark 22
Pivot Style Dark 23
Pivot Style Dark 24
Pivot Style Dark 25
Pivot Style Dark 26
Pivot Style Dark 27
Pivot Style Dark 28
Specifies camera preset settings.
None
Isometric Left Down
Isometric Right Up
Isometric Top Up
Isometric Bottom Down
Off Axis 1 Left
Off Axis 1 Right
Off Axis 1 Top
Off Axis 2 Left
Off Axis 2 Right
Off Axis 2 Top
Perspective Front
Perspective Left
Perspective Right
Perspective Below
Perspective Above
Perspective Relaxed Moderately
Perspective Relaxed
Perspective Contrasting Left
Perspective Contrasting Right
Perspective Heroic Extreme Left
Perspective Heroic Extreme Right
Oblique Top Left
Oblique Top Right
Oblique Bottom Left
Oblique Bottom Right
Encapsulates 3D rotation properties. Works together with SLFormat3D class.
This simulates some properties of DocumentFormat.OpenXml.Drawing.Scene3DType
and DocumentFormat.OpenXml.Drawing.Shape3DType classes. The reason for this mixing
is because Excel separates different properties from both classes into 2 separate sections
on the user interface (3-D Format and 3-D Rotation). Hence SLRotation3D and SLFormat3D
classes instead of straightforward mapping of the SDK Scene3DType and Shape3DType classes.
Initializes an instance of SLRotation3D.
Set camera settings using a preset.
The preset to be used.
Longitude angle ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
Latitude angle ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
Revolution angle ranging from 0 degrees to 359.9 degrees. Accurate to 1/60000 of a degree.
Perspective angle ranging from 0 degrees to 180 degrees. However, a suggested maximum is 120 degrees.
Distance from the ground, ranging from -2147483648 pt to 2147483647 pt. However, a suggested range is -4000 pt to 4000 pt.
Encapsulates properties and methods for drop lines.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.DropLines class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Line properties.
Shadow properties.
Glow properties.
Soft edge properties.
Paper size
Letter paper (8.5 in by 11 in)
Letter small paper (8.5 in by 11 in)
Tabloid paper (11 in by 17 in)
Ledger paper (17 in by 11 in)
Legal paper (8.5 in by 14 in)
Statement paper (5.5 in by 8.5 in)
Executive paper (7.25 in by 10.5 in)
A3 paper (297 mm by 420 mm)
A4 paper (210 mm by 297 mm)
A4 small paper (210 mm by 297 mm)
A5 paper (148 mm by 210 mm)
B4 paper (250 mm by 353 mm)
B5 paper (176 mm by 250 mm)
Folio paper (8.5 in by 13 in)
Quarto paper (215 mm by 275 mm)
Standard paper (10 in by 14 in)
Standard paper (11 in by 17 in)
Note paper (8.5 in by 11 in)
#9 envelope (3.875 in by 8.875 in)
#10 envelope (4.125 in by 9.5 in)
#11 envelope (4.5 in by 10.375 in)
#12 envelope (4.75 in by 11 in)
#14 envelope (5 in by 11.5 in)
C paper (17 in by 22 in)
D paper (22 in by 34 in)
E paper (34 in by 44 in)
DL envelope (110 mm by 220 mm)
C5 envelope (162 mm by 229 mm)
C3 envelope (324 mm by 458 mm)
C4 envelope (229 mm by 324 mm)
C6 envelope (114 mm by 162 mm)
C65 envelope (114 mm by 229 mm)
B4 envelope (250 mm by 353 mm)
B5 envelope (176 mm by 250 mm)
B6 envelope (176 mm by 125 mm)
Italy envelope (110 mm by 230 mm)
Monarch envelope (3.875 in by 7.5 in)
6 3/4 envelope (3.625 in by 6.5 in)
US standard fanfold (14.875 in by 11 in)
German standard fanfold (8.5 in by 12 in)
German legal fanfold (8.5 in by 13 in)
ISO B4 (250 mm by 353 mm)
Japanese double postcard (200 mm by 148 mm)
Standard paper (9 in by 11 in)
Standard paper (10 in by 11 in)
Standard paper (15 in by 11 in)
Invite envelope (220 mm by 220 mm)
Letter extra paper (9.275 in by 12 in)
Legal extra paper (9.275 in by 15 in)
Tabloid extra paper (11.69 in by 18 in)
A4 extra paper (236 mm by 322 mm)
Letter transverse paper (8.275 in by 11 in)
A4 transverse paper (210 mm by 297 mm)
Letter extra transverse paper (9.275 in by 12 in)
SuperA/SuperA/A4 paper (227 mm by 356 mm)
SuperB/SuperB/A3 paper (305 mm by 487 mm)
Letter plus paper (8.5 in by 12.69 in)
A4 plus paper (210 mm by 330 mm)
A5 transverse paper (148 mm by 210 mm)
JIS B5 transverse paper (182 mm by 257 mm)
A3 extra paper (322 mm by 445 mm)
A5 extra paper (174 mm by 235 mm)
ISO B5 extra paper (201 mm by 276 mm)
A2 paper (420 mm by 594 mm)
A3 transverse paper (297 mm by 420 mm)
A3 extra transverse paper (322 mm by 445 mm)
The type of header or footer.
First page.
Odd-numbered pages.
Even-numbered pages.
Header and footer format codes.
This is a positional code. Internally, it's "&L" (without quotes).
This is a positional code. Internally, it's "&C" (without quotes).
This is a positional code. Internally, it's "&R" (without quotes).
Page number. Excel interface displays "&[Page]" but internally it's "&P" (without quotes).
Number of pages. Excel interface displays "&[Pages]" but internally it's "&N" (without quotes).
Current date. Excel interface displays "&[Date]" but internally it's "&D" (without quotes).
Current time. Excel interface displays "&[Time]" but internally it's "&T" (without quotes).
File path. Excel interface displays "&[Path]" but internally it's "&Z" (without quotes).
File name. Excel interface displays "&[File]" but internally it's "&F" (without quotes).
Sheet name. Excel interface displays "&[Tab]" but internally it's "&A" (without quotes).
This resets the font styles. Use this when the previous section of text has formatting and the next section of text should have normal font styles.
The type of data fields to be imported, whether by delimiters/separators or in fixed width.
Data is separated by character delimiters.
Data is separated by fixed width columns.
The type of column data format.
Numeric values will be converted to numbers, date values to dates and remaining values to text.
Text format.
The value will be parsed as a date in the order of month, day, year.
Failing that, any given custom date formats will be used to parse the value.
Failing that, the value is parse generically as a date.
And failing that, the value is set as text.
The value will be parsed as a date in the order of day, month, year.
Failing that, any given custom date formats will be used to parse the value.
Failing that, the value is parse generically as a date.
And failing that, the value is set as text.
The value will be parsed as a date in the order of year, month, day.
Failing that, any given custom date formats will be used to parse the value.
Failing that, the value is parse generically as a date.
And failing that, the value is set as text.
The value will be parsed as a date in the order of month, year, day.
Failing that, any given custom date formats will be used to parse the value.
Failing that, the value is parse generically as a date.
And failing that, the value is set as text.
The value will be parsed as a date in the order of day, year, month.
Failing that, any given custom date formats will be used to parse the value.
Failing that, the value is parse generically as a date.
And failing that, the value is set as text.
The value will be parsed as a date in the order of year, day, month.
Failing that, any given custom date formats will be used to parse the value.
Failing that, the value is parse generically as a date.
And failing that, the value is set as text.
This column will be skipped.
Text import options for importing text data.
Initializes an instance of SLTextImportOptions, and assuming that the data source is character delimited.
Initializes an instance of SLTextImportOptions.
Whether the data source is character delimited or of fixed width.
Set the column data format type.
The column index in the data source. This is 1-based indexing, so it's 1 for the 1st data source column, 2 for the 2nd data source column and so on.
The column data format type.
Skip a particular data source column. This is equivalent to using the SetColumnFormat() function with a Skip data format type.
The data source column to skip. This is 1-based indexing, so it's 1 for the 1st data source column, 2 for the 2nd data source column and so on.
Clear all column data formats. This is effectively making all columns to be of General type.
Add custom date formats (this is the .NET date format code, not Excel's format code).
This is used to parse any date data into a date, and is done first before trying other
generic date parsing operations.
Clear all custom date formats.
Set the width of a column in number of characters for separating data columns.
This is used when the data source is specified as of fixed width.
If no width is specified, the DefaultFixedWidth is used.
The column index of the data source. This is 1-based indexing, so it's 1 for the 1st data source column, 2 for the 2nd data source column and so on.
The column width in number of characters.
Clone an instance of SLTextImportOptions.
An SLTextImportOptions object.
Indicates if fields are separated by character delimiters or are of fixed width.
The default is Delimited.
The default number of characters when columns are of fixed width.
If no width is set for a column, this will be used. By default, this is 8 characters.
Indicates if a tab character is a delimiter. By default, this is true.
Indicates if a semicolon is a delimiter. By default, this is false.
Indicates if a comma is a delimiter. By default, this is false.
Indicates if a space character is a delimiter. By default, this is false.
Indicates if a custom character is used as a delimiter. By default, this is false. Use the CustomDelimiter property to set the custom delimiter character.
The custom delimiter character. This is used only when UseCustomDelimiter is true.
Indicates if consecutive delimiters are treated as one.
Indicates if data enclosed within text qualifiers is taken as text.
The default is true.
Data enclosed within this qualifier will automatically be taken as text. The text qualifier
will be removed. The default is the double quote character.
The row in the text data source to begin importing.
The culture used for parsing numbers and dates. The default is the InvariantCulture.
The number styles used for parsing numeric data. The default is NumberStyles.Any.
The encoding used to read the data source. The default is Encoding.Default.
Indicates if space characters in the data source are preserved (after data column separation by delimiters). By default, this is true.
Encapsulates properties and methods for rich text runs. This simulates the DocumentFormat.OpenXml.Spreadsheet.Run class.
Initializes an instance of SLRun.
Clone a new instance of SLRun.
An SLRun object.
The font styles.
The text.
Encapsulates methods for miscellaneous convertions.
Get the column name given the column index.
The column index.
The column name.
Get the column index given a cell reference or column name.
A cell reference such as "A1" or column name such as "A". If the input is invalid, then -1 is returned.
The column index.
Get the cell reference given the row and column index. For example "A1".
The row index.
The column index.
The cell reference.
Get the cell reference given the row and column index. For example "A1" or "$A$1".
The row index.
The column index.
True for absolute reference. False for relative reference.
The cell reference.
Get the cell reference given the worksheet name, and row and column index. For example "Sheet1!A1".
The worksheet name.
The row index.
The column index.
The cell reference.
Get the cell reference given the worksheet name, and row and column index. For example "Sheet1!A1" or "Sheet1!$A$1".
The worksheet name.
The row index.
The column index.
True for absolute reference. False for relative reference.
The cell reference.
Get the cell range reference given a corner cell and its opposite corner cell in a cell range. For example "A1:C5".
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The cell range reference.
Get the cell range reference given a corner cell and its opposite corner cell in a cell range. For example "A1:C5" or "$A$1:$C$5".
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
True for absolute reference. False for relative reference.
The cell range reference.
Get the cell range reference given a worksheet name, and a corner cell and its opposite corner cell in a cell range. For example "Sheet1!A1:C5".
The worksheet name.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
The cell range reference.
Get the cell range reference given a worksheet name, and a corner cell and its opposite corner cell in a cell range. For example "Sheet1!A1:C5" or "Sheet1!$A$1:$C$5".
The worksheet name.
The row index of the start cell of the cell range. This is typically the top-left cell.
The column index of the start cell of the cell range. This is typically the top-left cell.
The row index of the end cell of the cell range. This is typically the bottom-right cell.
The column index of the end cell of the cell range. This is typically the bottom-right cell.
True for absolute reference. False for relative reference.
The cell range reference.
Convert a color in hexadecimal to a System.Drawing.Color structure.
The color in hexadecimal.
A System.Drawing.Color structure.
Convert a set of HSL color values to a System.Drawing.Color structure.
The hue measured in degrees ranging from 0 to 360 degrees.
The saturation ranging from 0.0 to 1.0, where 0.0 is grayscale and 1.0 is the most saturated.
The luminance (sometimes known as brightness) ranging from 0.0 to 1.0, where 0.0 is effectively black and 1.0 is effectively white.
A System.Drawing.Color structure.
Converts inches to points.
A value measured in inches.
The converted value in points.
Converts points to inches.
A value measured in points.
The converted value in inches.
Converts inches to centimeters.
A value measured in inches.
The converted value in centimeters.
Converts centimeters to inches.
A value measured in centimeters.
The converted value in inches.
Converts centimeters to points.
A value measured in centimeters.
The converted value in points.
Converts points to centimeters.
A value measured in points.
The converted value in centimeters.
Converts inches to English Metric Units.
A value measured in inches.
The converted value in English Metric Units.
Converts English Metric Units to inches.
A value measured in English Metric Units.
The converted value in inches.
Converts points to English Metric Units.
A value measured in points.
The converted value in English Metric Units.
Converts English Metric Units to points.
A value measured in English Metric Units.
The converted value in points.
Converts centimeters to English Metric Units.
A value measured in centimeters.
The converted value in English Metric Units.
Converts English Metric Units to centimeters.
A value measured in English Metric Units.
The converted value in centimeters.
Encapsulates properties and methods for setting spreadsheet document properties.
The category of the document.
The status of the content.
The creator of the document.
The summary or abstract of the contents of the document. This might also be the comment section.
A word or set of words describing the document.
The document is last modified by this person.
The topic of the contents of the document.
The title of the document.
Encapsulates properties and methods for setting chart axes, specifically simulating
DocumentFormat.OpenXml.Drawing.Charts.CategoryAxis,
DocumentFormat.OpenXml.Drawing.Charts.DateAxis and
DocumentFormat.OpenXml.Drawing.Charts.ValueAxis classes.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Set this axis as a category axis. WARNING: This only works if it's a category/date axis. This fails if it's already a value axis.
Set this axis as a date axis. WARNING: This only works if it's a category/date axis. This fails if it's already a value axis.
Set the major unit for date axes to be automatic.
Set the major unit for date axes.
A positive value. Suggested range is 1 to 999999999 (both inclusive).
The time unit.
Set the minor unit for date axes to be automatic.
Set the minor unit for date axes.
A positive value. Suggested range is 1 to 999999999 (both inclusive).
The time unit.
Set the display units on the axis. This is for value axis.
Built-in unit types.
True to show the display units label on the chart. False otherwise.
Remove the display units on the axis. This is for value axis.
Set the corresponding value axis to cross this axis at an automatic value.
Set the corresponding value axis to cross this axis at a given category number. Suggested range is 1 to 31999 (both inclusive). This is for category axis. WARNING: Internally, this is used for category, date and value axes. Remember to set the axis type.
Category number to cross at.
Set the corresponding value axis to cross this axis at a given date. This is for date axis. WARNING: Internally, this is used for category, date and value axes. Remember to set the axis type.
Date to cross at.
Set the corresponding value axis to cross this axis at a given value. This is for value axis. WARNING: Internally, this is used for category, date and value axes. If it's already a value axis, you can't set the axis type.
Axis value to cross at.
Set the corresponding value axis to cross this axis at the maximum value.
This is the interval between labels, and is at least 1. A suggested range is 1 to 255 (both inclusive). This is only for category axes.
This is the interval between tick marks, and is at least 1. A suggested range is 1 to 31999 (both inclusive). This is only for category axes.
Label alignment for the category axis. This is ignored for date axes.
This is the label distance from the axis, ranging from 0 to 1000 (both inclusive). The default is 100.
The maximum value on the axis. A null value means it's automatically set. WARNING: This is used for date axes. It's also shared with value axes. If it's set for category axes, chart behaviour is not defined.
The minimum value on the axis. A null value means it's automatically set. WARNING: This is used for date axes. It's also shared with value axes. If it's set for category axes, chart behaviour is not defined.
The maximum value on the axis. A null value means it's automatically set. WARNING: This is used for value axis. It's also shared with date axes. If it's set for category axes, chart behaviour is not defined.
The minimum value on the axis. A null value means it's automatically set. WARNING: This is used for value axis. It's also shared with date axes. If it's set for category axes, chart behaviour is not defined.
The major unit on the axis. A null value means it's automatically set. This is for the value axis.
The minor unit on the axis. A null value means it's automatically set. This is for the value axis.
Logarithmic scale of the axis, ranging from 2 to 1000 (both inclusive). A null value means it's not used. This is for the value axis.
The base unit for date axes. A null value means it's automatically set.
This sets how the axis crosses regarding the tick marks (or position of the axis). Use Between for "between tick marks", and MidpointCategory for "on tick marks".
Indicates if labels are shown as flat text. If false, then the labels are shown as a hierarchy.
This is used only for category axes. The default is true.
Encapsulates properties and methods for specifying cell borders. This simulates the DocumentFormat.OpenXml.Spreadsheet.Border class.
Initializes an instance of SLBorder. It is recommended to use CreateBorder() of the SLDocument class.
Remove any existing left border.
Remove any existing right border.
Remove any existing top border.
Remove any existing bottom border.
Remove any existing diagonal border.
Remove any existing vertical border.
Remove any existing horizontal border.
Remove all borders.
Set the left border with a border style and a color.
The border style. Default is none.
The border color.
Set the left border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the left border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the right border with a border style and a color.
The border style. Default is none.
The border color.
Set the right border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the right border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the top border with a border style and a color.
The border style. Default is none.
The border color.
Set the top border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the top border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the bottom border with a border style and a color.
The border style. Default is none.
The border color.
Set the bottom border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the bottom border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the diagonal border with a border style and a color.
The border style. Default is none.
The border color.
Set the diagonal border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the diagonal border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the vertical border with a border style and a color.
The border style. Default is none.
The border color.
Set the vertical border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the vertical border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Set the horizontal border with a border style and a color.
The border style. Default is none.
The border color.
Set the horizontal border with a border style and a theme color.
The border style. Default is none.
The theme color to be used.
Set the horizontal border with a border style and a theme color, modifying the theme color with a tint value.
The border style. Default is none.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Form SLBorder from DocumentFormat.OpenXml.Spreadsheet.Border class.
The source DocumentFormat.OpenXml.Spreadsheet.Border class.
Form a DocumentFormat.OpenXml.Spreadsheet.Border class from SLBorder.
A DocumentFormat.OpenXml.Spreadsheet.Border with the properties of this SLBorder class.
Encapsulates properties and methods for specifying the left border.
Encapsulates properties and methods for specifying the right border.
Encapsulates properties and methods for specifying the top border.
Encapsulates properties and methods for specifying the bottom border.
Encapsulates properties and methods for specifying the diagonal border.
Encapsulates properties and methods for specifying the vertical border.
Encapsulates properties and methods for specifying the horizontal border.
Specifies if there's a diagonal line from the bottom left corner of the cell to the top right corner of the cell.
Specifies if there's a diagonal line from the top left corner of the cell to the bottom right corner of the cell.
Specifies if the left, right, top and bottom borders should be applied to the outside borders of a cell range.
Encapsulates properties and methods of border properties. This simulates the (abstract) DocumentFormat.OpenXml.Spreadsheet.BorderPropertiesType class.
Set the color of the border with one of the theme colors.
The theme color to be used.
Set the color of the border with one of the theme colors, modifying the theme color with a tint value.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Remove any existing color.
Remove any existing border style.
The border color.
The border style. Default is none.
Specifies reading order.
Reading order is context dependent.
Reading order is from left to right.
Reading order is from right to left.
Encapsulates properties and methods for text alignment in cells. This simulates the DocumentFormat.OpenXml.Spreadsheet.Alignment class.
Initializes an instance of SLAlignment.
Specifies the horizontal alignment. Default value is General.
Specifies the vertical alignment. Default value is Bottom.
Specifies the rotation angle of the text, ranging from -90 degrees to 90 degrees. Default value is 0 degrees.
Specifies if the text in the cell should be wrapped.
Specifies the indent. Each unit value equals 3 spaces.
This property is used when the class is part of a SLDifferentialFormat class. It specifies the indent value in addition to the given Indent property.
Specifies if the last line should be justified (usually for East Asian fonts).
Specifies if the text in the cell should be shrunk to fit the cell.
Specifies the reading order of the text in the cell.
Encapsulates properties and methods for setting line or border settings.
This simulates the DocumentFormat.OpenXml.Drawing.LinePropertiesType class.
Set color to be automatic.
Set no line.
Set a solid line given a color for the line and the transparency of the color.
The color to be used.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Set a solid line given a color for the line and the transparency of the color.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Set a linear gradient given a preset setting.
The preset to be used.
The interpolation angle ranging from 0 degrees to 359.9 degrees. 0 degrees mean from left to right, 90 degrees mean from top to bottom, 180 degrees mean from right to left and 270 degrees mean from bottom to top. Accurate to 1/60000 of a degree.
Set a radial gradient given a preset setting.
The preset to be used.
The radial gradient direction.
Set a rectangular gradient given a preset setting.
The preset to be used.
The rectangular gradient direction.
Set a path gradient given a preset setting.
The preset to be used.
Append a gradient stop given a color, the color's transparency and the position of gradient stop.
The color to be used.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
The position in percentage ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Append a gradient stop given a color, the color's transparency and the position of gradient stop.
The theme color to be used.
The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color and positive tints lighten the theme color.
Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.
The position in percentage ranging from 0% to 100%. Accurate to 1/1000 of a percent.
Clear all gradient stops.
Set line arrow head settings. This only makes sense for lines and not border lines.
The arrow head type.
The arrow head size.
Set line arrow tail settings. This only makes sense for lines and not border lines.
The arrow tail type.
The arrow tail size.
The dash type.
The join type.
Width between 0 pt and 1584 pt. Accurate to 1/12700 of a point.
The cap type.
The compound type.
The alignment.
Specifies how the end points are joined.
For rounded joins.
For bevelled joins.
For miter joins (square edges).
Specifies the size.
Size 1. Width is small, length is small.
Size 2. Width is small, length is medium.
Size 3. Width is small, length is large.
Size 4. Width is medium, length is small.
Size 5. Width is medium, length is medium.
Size 6. Width is medium, length is large.
Size 7. Width is large, length is small.
Size 8. Width is large, length is medium.
Size 9. Width is large, length is large.
Built-in gradient preset colors.
Early Sunset
Late Sunset
Nightfall
Daybreak
Horizon
Desert
Ocean
Calm Water
Fire
Fog
Moss
Peacock
Wheat
Parchment
Mahogany
Rainbow
Rainbow II
Gold
Gold II
Brass
Chrome
Chrome II
Silver
Sapphire
Specifies the direction for a radial or rectangular gradient type.
From center to top left corner.
From center to top right corner.
From center outwards.
From center to bottom left corner.
From center to bottom right corner.
Built-in shadow preset values.
None
Outer Diagonal Bottom Right
Outer Bottom
Outer Diagonal Bottom Left
Outer Right
Outer Center
Outer Left
Outer Diagonal Top Right
Outer Top
Outer Diagonal Top Left
Inner Diagonal Top Left
Inner Top
Inner Diagonal Top Right
Inner Left
Inner Center
Inner Right
Inner Diagonal Bottom Left
Inner Bottom
Inner Diagonal Bottom Right
Perspective Diagonal Upper Left
Perspective Diagonal Upper Right
Perspective Below
Perspective Diagonal Lower Left
Perspective Diagonal Lower Right
Vertical text alignment.
Top
Middle
Bottom
Top Centered
Middle Centered
Bottom Centered
Horizontal text alignment.
Right
Center
Left
Right Middle
Center Middle
Left Middle
This is for C.ShapeProperties
The interpolation angle ranging from 0 degrees to 359.9 degrees. 0 degrees mean from left to right, 90 degrees mean from top to bottom, 180 degrees mean from right to left and 270 degrees mean from bottom to top. Accurate to 1/60000 of a degree.
Encapsulates properties and methods for setting the side wall of 3D charts.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.SideWall class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
3D rotation properties.
Totals row function types.
Average
Count non-empty cells
Count numbers
Maximum
Minimum
Standard deviation
Sum
Variance
Encapsulates properties and methods for specifying tables. This simulates the DocumentFormat.OpenXml.Spreadsheet.Table class.
Set the table style with a built-in style.
A built-in table style.
Remove the label text or function in the totals row.
The table column index. For example, 1 for the 1st table column, 2 for the 2nd table column and so on.
Set the label text in the totals row. Be sure to set true first.
The table column index. For example, 1 for the 1st table column, 2 for the 2nd table column and so on.
The label text.
True if successful. False otherwise.
Set the function in the totals row. Be sure to set true first.
The table column index. For example, 1 for the 1st table column, 2 for the 2nd table column and so on.
The function type.
True if successful. False otherwise.
To sort data within the table. Note that the sorting is only done when the table is inserted into the worksheet.
The table column index. For example, 1 for the 1st table column, 2 for the 2nd table column and so on.
True to sort in ascending order. False to sort in descending order.
Indicates if the table has auto-filter.
There should be no spaces in the given value.
Because display names of tables have to be unique across the entire spreadsheet,
this can only be checked when the table is actually inserted into the worksheet.
If the display name is duplicate, a new display name will be automatically assigned upon insertion.
Indicates if the table has a totals row.
Indicates if the table has banded rows.
Indicates if the table has banded columns.
Indicates if the table has special formatting for the first column.
Indicates if the table has special formatting for the last column.
This represents a cell reference range in numeric index form.
Start row index.
Start column index.
End row index.
End column index.
Initializes an instance of SLCellPointRange.
The start row index.
The start column index.
The end row index.
The end column index.
These correspond to the internal Open XML SDK classes
Data series display types.
Normal or clustered.
Stacked.
100% stacked.
Built-in column chart types.
Clustered Column.
Stacked Column.
100% Stacked Column.
3D Clustered Column.
Stacked Column in 3D.
100% Stacked Column in 3D.
3D Column.
Clustered Cylinder.
Stacked Cylinder.
100% Stacked Cylinder.
3D Cylinder.
Clustered Cone.
Stacked Cone.
100% Stacked Cone.
3D Cone.
Clustered Pyramid.
Stacked Pyramid.
100% Stacked Pyramid.
3D Pyramid.
Built-in line chart types.
Line.
Stacked Line.
100% Stacked Line.
Line with Markers.
Stacked Line with Markers.
100% Stacked Line with Markers.
3D Line.
Built-in pie chart types.
Pie.
Pie in 3D.
Pie of Pie.
Exploded Pie.
Exploded Pie in 3D.
Bar of Pie
Built-in bar chart types.
Clustered Bar.
Stacked Bar.
100% Stacked Bar.
Clustered Bar in 3D.
Stacked Bar in 3D.
100% Stacked Bar in 3D.
Clustered Horizontal Cylinder.
Stacked Horizontal Cylinder.
100% Stacked Horizontal Cylinder.
Clustered Horizontal Cone.
Stacked Horizontal Cone.
100% Stacked Horizontal Cone.
Clustered Horizontal Pyramid.
Stacked Horizontal Pyramid.
100% Stacked Horizontal Pyramid.
Built-in area chart types.
Area.
Stacked Area.
100% Stacked Area.
3D Area.
Stacked Area in 3D.
100% Stacked Area in 3D.
Built-in scatter chart types.
Scatter with only Markers.
Scatter with Smooth Lines and Markers.
Scatter with Smooth Lines.
Scatter with Straight Lines and Markers.
Scatter with Straight Lines.
Built-in stock chart types.
High-Low-Close.
Open-High-Low-Close.
Volume-High-Low-Close.
Volume-Open-High-Low-Close.
Built-in surface chart types.
3D Surface.
Wiredframe 3D Surface.
Contour.
Wireframe Contour.
Built-in doughnut chart types.
Doughnut.
Exploded Doughnut.
Built-in bubble chart types.
Bubble.
Bubble with a 3D effect.
Built-in radar chart types.
Radar.
Radar with Markers.
Filled Radar.
Built-in chart styles.
Standard style in black and white.
Standard style in theme colors. This is the default.
Standard style in tints of accent 1 color.
Standard style in tints of accent 2 color.
Standard style in tints of accent 3 color.
Standard style in tints of accent 4 color.
Standard style in tints of accent 5 color.
Standard style in tints of accent 6 color.
Bordered data series in black and white.
Bordered data series in theme colors.
Bordered data series in tints of accent 1 color.
Bordered data series in tints of accent 2 color.
Bordered data series in tints of accent 3 color.
Bordered data series in tints of accent 4 color.
Bordered data series in tints of accent 5 color.
Bordered data series in tints of accent 6 color.
Softly blurred data series in black and white.
Softly blurred data series in theme colors.
Softly blurred data series in tints of accent 1 color.
Softly blurred data series in tints of accent 2 color.
Softly blurred data series in tints of accent 3 color.
Softly blurred data series in tints of accent 4 color.
Softly blurred data series in tints of accent 5 color.
Softly blurred data series in tints of accent 6 color.
Bevelled data series in black and white.
Bevelled data series in theme colors.
Bevelled data series in tints of accent 1 color.
Bevelled data series in tints of accent 2 color.
Bevelled data series in tints of accent 3 color.
Bevelled data series in tints of accent 4 color.
Bevelled data series in tints of accent 5 color.
Bevelled data series in tints of accent 6 color.
Standard style in black and white, with gray-filled plot area (side wall, back wall and floor for 3D charts).
Standard style in theme colors, with gray-filled plot area (side wall, back wall and floor for 3D charts).
Standard style in tints of accent 1 color, with gray-filled plot area (side wall, back wall and floor for 3D charts).
Standard style in tints of accent 2 color, with gray-filled plot area (side wall, back wall and floor for 3D charts).
Standard style in tints of accent 3 color, with gray-filled plot area (side wall, back wall and floor for 3D charts).
Standard style in tints of accent 4 color, with gray-filled plot area (side wall, back wall and floor for 3D charts).
Standard style in tints of accent 5 color, with gray-filled plot area (side wall, back wall and floor for 3D charts).
Standard style in tints of accent 6 color, with gray-filled plot area (side wall, back wall and floor for 3D charts).
Softly blurred and bevelled data series in black and white, with black chart area and gray-filled plot area (side wall, back wall and floor for 3D charts).
Softly blurred and bevelled data series in theme colors, with black chart area and gray-filled plot area (side wall, back wall and floor for 3D charts).
Softly blurred and bevelled data series in tints of accent 1 color, with black chart area and gray-filled plot area (side wall, back wall and floor for 3D charts).
Softly blurred and bevelled data series in tints of accent 2 color, with black chart area and gray-filled plot area (side wall, back wall and floor for 3D charts).
Softly blurred and bevelled data series in tints of accent 3 color, with black chart area and gray-filled plot area (side wall, back wall and floor for 3D charts).
Softly blurred and bevelled data series in tints of accent 4 color, with black chart area and gray-filled plot area (side wall, back wall and floor for 3D charts).
Softly blurred and bevelled data series in tints of accent 5 color, with black chart area and gray-filled plot area (side wall, back wall and floor for 3D charts).
Softly blurred and bevelled data series in tints of accent 6 color, with black chart area and gray-filled plot area (side wall, back wall and floor for 3D charts).
Encapsulates properties and methods for a chart to be inserted into a worksheet.
Set the chart style using one of the built-in styles. WARNING: This is supposedly phased out in Excel 2013. Maybe it'll be replaced by something else, maybe not at all.
A built-in chart style.
Set a pie chart using one of the built-in pie chart types.
A built-in pie chart type.
Set a pie chart using one of the built-in pie chart types.
A built-in pie chart type.
Chart customization options.
Set a surface chart using one of the built-in surface chart types.
A built-in surface chart type.
Set a radar chart using one of the built-in radar chart types.
A built-in radar chart type.
Set a bubble chart using one of the built-in bubble chart types.
A built-in bubble chart type.
Set a bubble chart using one of the built-in bubble chart types.
A built-in bubble chart type.
Chart customization options.
Set a stock chart using one of the built-in stock chart types.
A built-in stock chart type.
Set a stock chart using one of the built-in stock chart types.
A built-in stock chart type.
Chart customization options.
Set a doughnut chart using one of the built-in doughnut chart types.
A built-in doughnut chart type.
Set a doughnut chart using one of the built-in doughnut chart types.
A built-in doughnut chart type.
Chart customization options.
Set a scatter chart using one of the built-in scatter chart types.
A built-in scatter chart type.
Set an area chart using one of the built-in area chart types.
A built-in area chart type.
Set an area chart using one of the built-in area chart types.
A built-in area chart type.
Chart customization options.
Set a line chart using one of the built-in line chart types.
A built-in line chart type.
Set a line chart using one of the built-in line chart types.
A built-in line chart type.
Chart customization options.
Set a column chart using one of the built-in column chart types.
A built-in column chart type.
Set a column chart using one of the built-in column chart types.
A built-in column chart type.
Chart customization options.
Set a bar chart using one of the built-in bar chart types.
A built-in bar chart type.
Set a bar chart using one of the built-in bar chart types.
A built-in bar chart type.
Chart customization options.
This assumes SetPlotAreaAxes() is already called so fewer properties are set.
Set the position of the chart relative to the top-left of the worksheet.
Top position of the chart based on row index. For example, 0.5 means at the half-way point of the 1st row, 2.5 means at the half-way point of the 3rd row.
Left position of the chart based on column index. For example, 0.5 means at the half-way point of the 1st column, 2.5 means at the half-way point of the 3rd column.
Bottom position of the chart based on row index. For example, 5.5 means at the half-way point of the 6th row, 7.5 means at the half-way point of the 8th row.
Right position of the chart based on column index. For example, 5.5 means at the half-way point of the 6th column, 7.5 means at the half-way point of the 8th column.
Show the chart title.
True if the title overlaps the plot area. False otherwise.
Hide the chart title.
Show the chart legend.
Position of the legend. Default is Right.
True if the legend overlaps the plot area. False otherwise.
Hide the chart legend.
Get the options for a specific data series.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
The data series options for the specific data series. If the index is out of bounds, a default is returned.
Set the options for a given data series.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
The data series options.
Show the primary text (category/date/value) axis. This has no effect if the chart has no primary axes.
Hide the primary text (category/date/value) axis. This has no effect if the chart has no primary axes.
Show the primary value axis. This has no effect if the chart has no primary axes.
Hide the primary value axis. This has no effect if the chart has no primary axes.
Show the depth axis. This has no effect if the chart has no depth axis (that is, not a true 3D chart).
Hide the depth axis. This has no effect if the chart has no depth axis (that is, not a true 3D chart).
Show the secondary text (category/date/value) axis. This has no effect if the chart has no secondary axes.
Hide the secondary text (category/date/value) axis. This has no effect if the chart has no secondary axes.
Show the secondary value axis. This has no effect if the chart has no secondary axes.
Hide the secondary value axis. This has no effect if the chart has no secondary axes.
Creates an instance of SLAreaChartOptions with theme information.
An SLAreaChartOptions object with theme information.
Creates an instance of SLLineChartOptions with theme information.
An SLLineChartOptions object with theme information.
Creates an instance of SLPieChartOptions with theme information.
An SLPieChartOptions object with theme information.
Creates an instance of SLStockChartOptions with theme information.
An SLStockChartOptions object with theme information.
Plot a specific data series as a doughnut chart. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
A built-in doughnut chart type for this specific data series.
Plot a specific data series as a doughnut chart. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
Index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
A built-in doughnut chart type for this specific data series.
Chart customization options.
Plot a specific data series as a bar-of-pie chart. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Plot a specific data series as a bar-of-pie chart. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart customization options.
Plot a specific data series as a pie-of-pie chart. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Plot a specific data series as a pie-of-pie chart. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart customization options.
Plot a specific data series as a pie chart. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
True to explode this data series. False otherwise.
Plot a specific data series as a pie chart. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
True to explode this data series. False otherwise.
Chart customization options.
Plot a specific data series as a radar chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
A built-in radar chart type for this specific data series.
Plot a specific data series as a radar chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
A built-in radar chart type for this specific data series.
Plot a specific data series as an area chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Plot a specific data series as an area chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Chart customization options.
Plot a specific data series as an area chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Plot a specific data series as an area chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Chart customization options.
Plot a specific data series as a column chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Plot a specific data series as a column chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Chart customization options.
Plot a specific data series as a column chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Plot a specific data series as a column chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Chart customization options.
Plot a specific data series as a bar chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Plot a specific data series as a bar chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Chart customization options.
Plot a specific data series as a bar chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Plot a specific data series as a bar chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
Chart customization options.
Plot a specific data series as a scatter chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
A built-in scatter chart type for this specific data series.
Plot a specific data series as a scatter chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
A built-in scatter chart type for this specific data series.
Plot a specific data series as a line chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
True to display markers. False otherwise.
Plot a specific data series as a line chart on the primary axes. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
True to display markers. False otherwise.
Chart customization options.
Plot a specific data series as a line chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
True to display markers. False otherwise.
Plot a specific data series as a line chart on the secondary axes. If there are no primary axes, it will be plotted on the primary axes instead. WARNING: Only weak checks done on whether the resulting combination chart is valid. Use with caution.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Chart display type. This corresponds to the 3 typical types in most charts: normal (or clustered), stacked and 100% stacked.
True to display markers. False otherwise.
Chart customization options.
Creates an instance of SLGroupDataLabelOptions with theme information.
An SLGroupDataLabelOptions with theme information.
Creates an instance of SLDataLabelOptions with theme information.
An SLDataLabelOptions with theme information.
Set data label options to a specific data series.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
Data label customization options.
Set data label options to all data series.
Data label customization options.
Set data label options to a specific data point in a specific data series.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
The index of the data point. This is 1-based indexing, so it's 1 for the 1st data point, 2 for the 2nd data point and so on.
Data label customization options.
Creates an instance of SLDataPointOptions with theme information.
An SLDataPointOptions with theme information.
Set data point options to a specific data point in a specific data series.
The index of the data series. This is 1-based indexing, so it's 1 for the 1st data series, 2 for the 2nd data series and so on.
The index of the data point. This is 1-based indexing, so it's 1 for the 1st data point, 2 for the 2nd data point and so on.
Data point customization options.
True if follow latest Excel styling defaults (but no guarantees because I might not
be able to afford to keep buying latest Office/Excel).
Specifies whether the chart has rounded corners. In Microsoft Excel, you might find this setting under "Border Styles" when formatting the chart area.
The default is to show empty cells with a gap (or whichever option is appropriate for the chart). Note that "Zero" and "Span" are used mostly for line, scatter and radar charts. Use "Zero" to force a zero value, and "Span" to connect data points across the empty cell.
Indicates whether data labels over the maximum value of the chart is shown. The default value is true.
This is double that's shown in Excel. Excel values range from 0 to 120 degrees.
So this is 0 to 240 units. "Default" rotation angle is 30 (15 degrees).
Did Microsoft want to make full use of the byte range value?
A friendly name for the chart. By default, this is in the form of "Chart #", where "#" is a number.
The chart title. By default the chart title is hidden, so make sure to show it if chart title properties are set.
The floor of 3D charts.
The side wall of 3D charts. Note that contour charts don't show the side wall, even though they're technically 3D charts.
The back wall of 3D charts. Note that contour charts don't show the back wall, even though they're technically 3D charts.
The plot area.
The primary chart text axis. This is usually the horizontal axis at the bottom (bar charts have them on the left).
Depending on the type of chart, this can be a category, date or value axis.
The primary chart value axis. This is usually the vertical axis on the left (bar charts have them at the bottom).
The depth axis for 3D charts.
The secondary chart text axis. This is usually the horizontal axis at the top (bar charts have them on the left initially until you show this axis).
Depending on the type of chart, this can be a category, date or value axis.
The secondary chart value axis. This is usually the vertical axis on the right (bar charts have them at the top).
Specifies if the data table is shown.
The data table of the chart.
The chart legend.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.
Data validation types.
Whole number.
Decimal.
Date.
Time.
Text length.
Data validation operations with 1 operand.
Equal.
Not equal.
Greater than.
Less than.
Greater than or equal.
Less than or equal.
Encapsulates properties and methods for data validations.
Allow any value.
Allow only whole numbers.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow only whole numbers.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow only whole numbers.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow only whole numbers.
The type of operation.
The data value.
True if blanks are ignored. False otherwise.
Allow only whole numbers.
The type of operation.
The data value.
True if blanks are ignored. False otherwise.
Allow only whole numbers.
The type of operation.
The data value.
True if blanks are ignored. False otherwise.
Allow decimal (floating point) values.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow decimal (floating point) values.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow decimal (floating point) values.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow decimal (floating point) values.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow decimal (floating point) values.
The type of operation.
The data value.
True if blanks are ignored. False otherwise.
Allow decimal (floating point) values.
The type of operation.
The data value.
True if blanks are ignored. False otherwise.
Allow decimal (floating point) values.
The type of operation.
The data value.
True if blanks are ignored. False otherwise.
Allow decimal (floating point) values.
The type of operation.
The data value.
True if blanks are ignored. False otherwise.
Allow a list of values.
The data source. For example, "$A$1:$A$5"
True if blanks are ignored. False otherwise.
True if a dropdown list appears for selecting. False otherwise.
Allow date values.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow date values.
True if the data is between 2 values. False otherwise.
The minimum value. Any valid date formatted value is fine. It is suggested to just copy the value you have in Excel interface.
The maximum value. Any valid date formatted value is fine. It is suggested to just copy the value you have in Excel interface.
True if blanks are ignored. False otherwise.
Allow date values.
The type of operation.
The data value. Any valid date formatted value is fine. It is suggested to just copy the value you have in Excel interface.
True if blanks are ignored. False otherwise.
Allow date values.
The type of operation.
The data value. Any valid date formatted value is fine. It is suggested to just copy the value you have in Excel interface.
True if blanks are ignored. False otherwise.
Allow time values.
True if the data is between 2 values. False otherwise.
The start hour between 0 to 23 (both inclusive).
The start minute between 0 to 59 (both inclusive).
The start second between 0 to 59 (both inclusive).
The end hour between 0 to 23 (both inclusive).
The end minute between 0 to 59 (both inclusive).
The end second between 0 to 59 (both inclusive).
True if blanks are ignored. False otherwise.
Allow time values.
True if the data is between 2 values. False otherwise.
The start time. Any valid time formatted value is fine. It is suggested to just copy the value you have in Excel interface.
The end time. Any valid time formatted value is fine. It is suggested to just copy the value you have in Excel interface.
True if blanks are ignored. False otherwise.
Allow time values.
The type of operation.
The hour between 0 to 23 (both inclusive).
The minute between 0 to 59 (both inclusive).
The second between 0 to 59 (both inclusive).
True if blanks are ignored. False otherwise.
Allow time values.
The type of operation.
The time. Any valid time formatted value is fine. It is suggested to just copy the value you have in Excel interface.
True if blanks are ignored. False otherwise.
Allow data according to text length.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow data according to text length.
True if the data is between 2 values. False otherwise.
The minimum value.
The maximum value.
True if blanks are ignored. False otherwise.
Allow data according to text length.
The type of operation.
The text length for comparison.
True if blanks are ignored. False otherwise.
Allow data according to text length.
The type of operation.
The text length for comparison.
True if blanks are ignored. False otherwise.
Allow custom validation.
The formula used for validation.
True if blanks are ignored. False otherwise.
Set the input message.
The title of the input message.
The input message.
Set the error alert.
The error style.
The title of the error alert.
The error message.
Set the error alert.
The title of the error alert.
The error message.
Specifies if the input message is shown.
Specifies if the error message is shown.
Encapsulates properties and methods for specifying effects such as glow, shadows, reflection and soft edges.
This simulates the DocumentFormat.OpenXml.Drawing.EffectList class.
Encapsulates properties and methods for setting chart legends.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.Legend class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
The position of the legend.
Specifies if the legend is overlayed. True if the legend overlaps the plot area, false otherwise.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
Encapsulates properties and methods for down bars.
This simulates the DocumentFormat.OpenXml.Drawing.Charts.DownBars class.
Clear all styling shape properties. Use this if you want to start styling from a clean slate.
Fill properties.
Border properties.
Shadow properties.
Glow properties.
Soft edge properties.
3D format properties.