Click or drag to resize

Spire.Xls Namespace

Classes
Class Description
Public class BookmarkHyperlink
Represents a hyperlink that can be used to bookmark a specific location within a document.
Public class CellBorder
Represents a cell border.
Public class CellRange
Represents a range of cells in a grid or spreadsheet.
Public class Code example CellStyle
Represents the style of the cell range.
Examples
The following code illustrates how to the style of the specified range:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Set text</para><para>worksheet["C2"].Text = "Sample";</para><para>//Add and set style</para><para>CellStyle style = workbook.Styles.Add("BorderStyle");</para><para>style.Color = Color.Red;</para><para>worksheet["C2"].Style = style;</para><para>//Save to file</para><para>workbook.SaveToFile("Style.xlsx");</para>
Public class CellStyleFlag
Represents a set of flags that define the style of a cell in a spreadsheet.
Public class CellStyleObject
RepresentsCellStyleObject
Public class Chart
Represents a chart shape in a spreadsheet.
Public class ChartShadow
Represents Chart`s Shadow
Public class ChartSheet
Represents a ChartSheet
Public class ColorScale
The color scale condition in the conditional format
Public class ConditionalFormat
Contains a condition and the formatting for cells.
Public class ConditionalFormats
Contains a condition and the formatting for cells.
Public class ConditionalFormatWrapper
Summary description for ConditionalFormatWrapper.
Public class ConditionValue
Represents single condition value for iconset, databar, colorscale conditions.
Public class ConverterSetting
Convert Setting
Public class CustomFontData
Represents custom font data.
Public class DataBar
Represents a data bar conditional formating rule.
Public class DBConnection
Represents a database connection that extends the functionality of an external connection.
Public class DocumentProperty
Represents a property of a document.
Public class ExcelAddInFunction
Represents a single add-in, either installed or not installed.
Public class ExcelComment
Represents a comment in an Excel worksheet.
Public class ExcelCommentObject
Represents an Excel comment object.
Public class ExcelFont
Represents a font in an Excel worksheet.
Public class ExcelGradient
Represents a gradient fill in an Excel spreadsheet.
Public class ExcelInterior
Represents the interior object for extended format . This class provides methods and properties to set the fill color, pattern, and other styling options for cell interiors.
Public class ExcelPicture
Represents an Excel picture shape within a spreadsheet.
Public class ExportTableOptions
Options class for exporting to a DataTable, used to configure export behavior.
Public class ExternalConnection
Represents an abstract class for external database connections.
Public class ExternalLink
Represents an external link in a spreadsheet, inheriting from Spire.Xls.Core.Spreadsheet.XlsObject.
Public class Format3D
Represents a 3D format object in a spreadsheet.
Public class GoalSeek
Goal seek.
Public class GoalSeekResult
Goal seek calculate result.
Public class HPageBreak
Represents a horizontal page break in a spreadsheet.
Public class HyperLink
Represents a hyperlink in a spreadsheet.
Public class IconSet
Conditional formatting icon set condition.
Public class ImportObjectOptions
Represents options for importing objects.
Public class MarkerDesigner
WorkbookDesignerused for template markers to the workbook and worksheet.
Public class OColor
This object used to store, convert colors.
Public class OdsPageBackground
Represents the background settings for an ODS (OpenDocument Spreadsheet) page.
Public class PageImagePaintedEventArgs
Represents the event arguments for the PageImagePainted event.
Public class PageSetup
Represents the page setup description. The PageSetup object contains all page setup attributes (left margin, bottom margin, paper size, and so on) as properties.
Public class PivotCache
Represents a cache of data used by a PivotTable in Excel. The PivotCache stores the data source and any filters or transformations applied to the data, which can then be used to quickly refresh the PivotTable without re-querying the original data source.
Public class PivotField
Represents a field in a pivot table, which can be used to define the rows, columns, values, or filters in the pivot table.
Public class PivotTable
Represents a pivot table that summarizes and organizes data in a tabular format, allowing for dynamic analysis and reporting.
Public class PivotTableFields
Represents a collection of fields in a pivot table, which are used to categorize, summarize, and filter data.
Public class QueryTableXls
Represents QueryTable information.
Public class ReferRangeArea
Represents a reference range area.
Public class RichText
Represents a rich text object in a Spire.Xls worksheet.
Public class RichTextObject
Represents a rich text object in a spreadsheet.
Public class SaveShapeTypeOption
Specifies the shape type that needs to be converted to a picture, and defaults to all types
Public class ShapeGlow
Represents a shape that can glow.
Public class ShapeReflection
Represents a class for shape reflection operations.
Public class Sparkline
A sparkline represents a tiny chart or graphic in a worksheet cell that provides a visual representation of data.
Public class SparklineCollection
Represents the SparklineCollection.
Public class SparklineGroup
Represents a SparklineGroup.The SparklineGroup object is a member of the SparklineGroups collection.The SparklineGroups collection contains all the SparklineGroup objects in a workheet.
Public class SparklineGroupCollection
The SparklineGroupCollection represents the collection of SparklineGroup objects.
Public class TextSaveOptions
Represents options for saving text data.
Public class Validation
Represents a class for handling validation.
Public class VPageBreak
Represents a vertical page break.
Public class WebQueryConnection
Represents a connection to a web-based query service.
Public class Workbook
Represents a workbook.
Public class Worksheet
Represents a worksheet. The Worksheet object is a member of the Worksheets collection. The Worksheets collection contains all the Worksheet objects in a workbook.
Public class XlsConditionValue
Represents implementation of single condition value for iconset, databar, colorscale conditions.
Public class XlsDocumentProperty
Summary description for DocumentProperty.
Public class XlsSlicer
Represents a slicer in an Excel worksheet. A slicer is a visual filter that allows users to interactively filter data in a pivot table or table.
Public class XlsSlicerCache
Represents a slicer cache in an Excel worksheet. A slicer cache contains the state of a slicer, including its filters and items.
Public class XlsSlicerCacheItem
Represents a single item within a slicer cache in an Excel worksheet. This class provides properties to access and modify the state of a slicer item.
Public class XlsSlicerCacheItemCollection
Represents a collection of slicer cache items within an Excel worksheet. This class provides functionalities to access and manage individual slicer cache items.
Public class XlsSlicerCollection
Represents a collection of slicers within an Excel worksheet. This class provides functionalities to add, remove, access, and manage slicers.
Structures
Structure Description
Public structure PageColRow
Represents a range of columns and rows on a page, defined by starting and ending column and row indices.
Interfaces
Interface Description
Public interface IConditionValue
Represents single condition value for iconset, databar, colorscale conditions.
Public interface IPropertyData
Delegates
Delegate Description
Public delegate PageImagePaintedHandler
Represents a method that will handle the PageImagePainted event.
Enumerations
Enumeration Description
Public enumeration AlertStyleType
Possible error style values:
Public enumeration AutoFormatOptions
Represents auto format options.
Public enumeration AutoFormatType
Represents auto format values.
Public enumeration AverageType
Average type.
Public enumeration AxisLineIdentifierType
Axis line indentifier type.
Public enumeration AxisTextDirectionType
Represents axis text direction.
Public enumeration AxisType
Primary axis types for Charts..
Public enumeration AxisTypes
Axis types.
Public enumeration BaseFormatType
Base format options.
Public enumeration BordersLineType
Specifies border and diagonal line types in Excel.
Public enumeration BubbleSizeType
Bubble size.
Public enumeration BuiltInPropertyType
SummaryInformation property type.
Public enumeration BuiltInStyles
Specifies existing built-in styles for Excel 2007.
Public enumeration CategoryType
Represents category type.
Public enumeration CellDataType
Cell data types:
Public enumeration CellFormatType
Cell format types.
Public enumeration ChartBackgroundMode
Chart background mode.
Public enumeration ChartBaseUnitType
Represents chart base unit.
Public enumeration ChartDisplayUnitType
Represents excel chart uint to display.
Public enumeration ChartExPositionAlignment
It represent side position alignment of a chart element
Public enumeration ChartExSidePosition
It specifies an enumeration of side positions
Public enumeration ChartLinePatternType
Chart line patterns.
Public enumeration ChartLineWeightType
Chart line weight values type.
Public enumeration ChartMarkerType
Chart marker types.
Public enumeration ChartParagraphType
MS Chart Font Type
Public enumeration ChartPieType
Chart pile type.
Public enumeration ChartPlotEmptyType
Chart plot empty type.
Public enumeration ChartStyleElements
Contains the list of style elements
Public enumeration CheckState
Specifies check state of the check box.
Public enumeration ColorModel
Contains the list of color models
Public enumeration ColorType
Color types.
Public enumeration CommentHAlignType
Comment horizontally align.
Public enumeration CommentVAlignType
Comment vertically align
Public enumeration ComparisonOperatorType
The Comparison operator for conditional formatting in Excel.
Public enumeration CompoundLineType
Represents style of drawing lines.
Public enumeration ConditionalFormatScope
Reperesents the scope of conditional formatting applied in the PivotTable
Public enumeration ConditionalFormatType
Conditional formatting type.
Public enumeration ConditionalTopNType
This simple type defines the values for the Top N conditional formatting evaluation for the PivotTable
Public enumeration ConditionValuePosition
Specifies condition value position.
Public enumeration ConditionValueType
Specifies the types of condition values that can be used.
Public enumeration ConnectionDataSourceType
Public enumeration CopyRangeOptions
Enumeration to specify the options to update formulas and merged ranges during copy range operation.
Public enumeration DataLabelPositionType
Represents Data label placement.
Public enumeration DataSourceType
Data source type.
Public enumeration DeleteOption
Represents the options available for deleting Range.
Public enumeration DropLineStyleType
Drop line style type.
Public enumeration EndLineCap
This simple type enumeration specifies how to cap the ends of lines.
Public enumeration ErrorBarIncludeType
Represents error bar include values.
Public enumeration ErrorBarType
Error-bar type.
Public enumeration Excel2007DataLabelPos
Represents the data label positioning.
Public enumeration Excel2016Charttype
Public enumeration ExcelCalculationMode
Enum that defines different types of the formula calculations.
Public enumeration ExcelChartType
Chart types.
Public enumeration ExcelClearOptions
Enumeration of possible directions to clear the Cell formats, content, comments or clear all of them.
Public enumeration ExcelColors
Predefined colors in excel.
Public enumeration ExcelComboType
Represents possible combo box type values.
Public enumeration ExcelFindOptions
Possible type of finding options
Public enumeration ExcelHorizontalAlignment
Represents different horizontal alignments
Public enumeration ExcelPatternType
Patterns style.
Public enumeration ExcelQuartileCalculation
It represents Quartile calculation used for Box and Whisker Chart series
Public enumeration ExcelSaveType
Enumeration of the Save types in Excel.
Public enumeration ExcelShapeType
Excel shapes.
Public enumeration ExcelSheetType
Sheet types.
Public enumeration ExcelTotalsCalculation
Specifies the type of calculation in the Totals row of a list column.
Public enumeration ExcelTreeMapLabelOption
It represents the Label position in Tree Map chart
Public enumeration ExcelVersion
Represents possible excel versions.
Public enumeration ExcelVerticalAlignment
Represents different vertical alignments
Public enumeration ExpandCollapseFlags
Flags for expand/collapse settings.
Public enumeration FileFormat
Represents possible excel versions.
Public enumeration FilterConditionType
Filter conditions.
Public enumeration FilterDataType
Data type for filters.
Public enumeration FindType
Possible types of param, specified as string, number in FindFirst, FindAll methods.
Public enumeration FontCollectionIndex
Enumeration represents one of the fonts associated with the style.
Public enumeration FontUnderlineType
Font underline types.
Public enumeration FontVertialAlignmentType
Defines the possible settings for vertical alignment of a run of text. This is used to get superscript or subscript text without altering the font size properties of the rest of the text run.
Public enumeration GradientColorType
Represents gradient color type.
Public enumeration GradientPatternType
Represents excel gradient pattern.
Public enumeration GradientPresetType
Represents preset gradient type.
Public enumeration GradientStyleType
Represents excel shape shading style.
Public enumeration GradientTextureType
Represents gradient texture.
Public enumeration GradientVariantsType
Represents shape shading variants.
Public enumeration GroupByType
Enumeration of Group types in Excel.
Public enumeration HorizontalAlignType
Horizontal alignment type.
Public enumeration HttpContentType
HttpContent type.
Public enumeration HyperLinkType
Hyper link type.
Public enumeration IconSetType
Icon set type for conditional formatting. The threshold values for triggering the different icons within a set are configurable, and the icon order is reversible.
Public enumeration IgnoreErrorType
Represents flags of excel ignore error indicator.
Public enumeration ImageFormatType
Image formats.
Public enumeration ImageType
Possible image types for image conversion.
Public enumeration InsertMoveOption
Represents the options available for insert Range.
Public enumeration InsertOptionsType
Enumeration of the insert options in Excel.
Public enumeration LegendPositionType
Legend placement for charts.
Public enumeration LegendSpacingType
Legend spacing for charts.
Public enumeration LineShapeType
Represents different types of line shapes.
Public enumeration LineStyleType
Border line styles.
Public enumeration MeasureUnits
Represents the MeasureUnits types.
Public enumeration MsoPathType
Public enumeration OdsPageBackgroundImagePositionType
Public enumeration OdsPageBackgroundImageType
Public enumeration OdsPageBackgroundType
Public enumeration OLEDBCommandType
Public enumeration OleLinkType
Defines types of the ole object field.
Public enumeration OleObjectType
defines the types of OLE object
Public enumeration OrderBy
Represents the sort order.
Public enumeration OrderType
Page order for sheet in Excel.
Public enumeration PageBreakExtentType
Page break extent types in Excel.
Public enumeration PageBreakType
Page break types in Excel.
Public enumeration PageOrientationType
Page orientation types in Excel.
Public enumeration PagesOrderType
Page order type
Public enumeration PaperSizeType
Paper size type.
Public enumeration PathFillMode
Public enumeration PivotAutoFomatTypes
Represents PivotTable auto format type.
Public enumeration PivotBuiltInStyles
Excel 2007 pivot table built in styles.
Public enumeration PivotDataType
Public enumeration PivotFieldFormatType
Public enumeration PivotFieldSortType
sort orders that can be applied to fields in a PivotTable.
Public enumeration PivotGroupByTypes
The groupby types of pivot field.
Public enumeration PivotItemType
Public enumeration PivotLabelFilterType
Public enumeration PivotPageAreaFieldsOrderType
Repersents the Page field area order when there are multiple page fields in the page area
Public enumeration PivotTableElement
// Represents PivotStyleMedium28 style. //
Public enumeration PivotTableLayoutType
Specifies the pivot table layout
Public enumeration PivotValueFilterType
Public enumeration PresetTextEffect
Public enumeration PrintCommentType
Print comments types.
Public enumeration PrintErrorsType
Print error values.
Public enumeration PrintingPageType
Indicates which pages will not be printed.
Public enumeration PropertyType
Enumeration with all supported property types.
Public enumeration PrstGeomShapeType
Represents the predefined geometric shapes available for use in presentations.
Public enumeration ReadingOrderType
Reading order types.
Public enumeration RectangleShapeType
Public enumeration RectangleStyleType
Excel rectangle style.
Public enumeration RenameStrategy
Renaming strategy enumeration, used to handle duplicate column names when exporting to a DataTable.
Public enumeration ResizeBehaveType
Represents The ResizeBehave mode.
Public enumeration SelectionType
The selection type of list box.
Public enumeration ShapeArrowLengthType
Represents arrow head length.
Public enumeration ShapeArrowStyleType
Represents shape arrow style type.
Public enumeration ShapeArrowWidthType
Represents arrow head width.
Public enumeration ShapeDashLineStyleType
Represents shape dash line style.
Public enumeration ShapeFillType
Represents shape XlsFill type.
Public enumeration ShapeLayerChangeType
Change target type of shape.
Public enumeration ShapeLineStyleType
Represents shape line style.
Public enumeration SheetProtectionType
Represents sheet protection flags enums.
Public enumeration SlicerCacheCrossFilterType
Specifies the type of cross filtering applied to a slicer cache and how it is visually displayed. Cross filtering determines how slicers that are connected to the same data source interact with each other when filtering.
Public enumeration SortComparsionType
Represents the sort by in the range.
Public enumeration SortedWayType
Represents the algorithm to sort.
Public enumeration SortOrientationType
Represents the sort orientation.
Public enumeration SparklineEmptyCells
Defines the Display of the Empty Cells within the Sparkline Range.
Public enumeration SparklineType
Defined types of Sparkline chart types.
Public enumeration SpartlineVerticalAxisType
Defines the Sparkline vertical axis type.
Public enumeration SplitType
Split type.
Public enumeration StyleEntryModifierEnum
Contains the style entry modifier enumerations
Public enumeration SubtotalTypes
Represents theSubtotal types.
Public enumeration TableBuiltInStyles
Excel 2007 table built in styles.
Public enumeration TextDirection
Represents different text direction.
Public enumeration TextRotationType
Text Rotation types.
Public enumeration TextVerticalValue
Public enumeration ThemeColorType
theme color type
Public enumeration TickLabelPositionType
Represents enum of chart tick label position values.
Public enumeration TickMarkType
Represents enum of chart tick mark values.
Public enumeration TopBottomType
TopBottom type.
Public enumeration TopFormatType
Top format type.
Public enumeration TrendLineType
Represents trend line values.
Public enumeration UnknownVariableAction
Defines action that must be taken when meeting unknown variable during template markers processing.
Public enumeration ValidationComparisonOperator
The Comparison operator for conditional formatting.
Public enumeration VariableTypeAction
Defines value type and numberformat in the template marker variable.
Public enumeration VerticalAlignType
Vertical alignment type.
Public enumeration ViewMode
Defines the view setting of the sheet.
Public enumeration WorksheetCopyType
Enumeration to specify options when copying worksheets.
Public enumeration WorksheetVisibility
Visibility of worksheet type.
Public enumeration XLSXBorderJoinType
shape border join type
Public enumeration XLSXChartBevelType
This enumeration value indicates the bevel properties for both Top nad Bottom Bevel
Public enumeration XLSXChartLightingType
This enumeration value indicates the Lighting properties for the Chart
Public enumeration XLSXChartMaterialType
Indicates the Material property values fro the chart
Public enumeration XLSXChartPrespectiveType
Indicates the Perspective shadow Values
Public enumeration XLSXChartShadowInnerType
Indicates the Inner Shadow Values
Public enumeration XLSXChartShadowOuterType
Indicates the Outer Shadow values
Public enumeration XLSXPivotItemType
This simple type defines the Open Xml Pivot type for a pivotItem.
Public enumeration XmlOpenType
Supported Xml open types.