Class SpreadStreamCellStyleInfo
A wrapper class used to transform the Windows forms types to types compatible with the SpreadStreamProcessing needs
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Export
Assembly: TelerikExport.dll
Syntax
public class SpreadStreamCellStyleInfo : ISpreadStreamExportCellStyleInfo
Constructors
SpreadStreamCellStyleInfo(SpreadCellFormat, Color, Color, FontFamily, Double, Boolean, Boolean, Boolean, ContentAlignment, Boolean, BorderBoxStyle, Color, Color, Color, Color, Color)
Initializes a new instance of the SpreadStreamCellStyleInfo class.
Declaration
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, Color backColor, Color foreColor, FontFamily fontFamily, double fontSize, bool isBold, bool isItalic, bool underline, ContentAlignment textAlignment, bool textWrap, BorderBoxStyle borderBoxStyle, Color borderColor, Color borderTopColor, Color borderBottomColor, Color borderRightColor, Color borderLeftColor)
Parameters
SpreadCellFormat
cellFormat
Current excel cell. |
System.Drawing.Color
backColor
BackColor of cell. |
System.Drawing.Color
foreColor
ForeColor of cell. |
System.Drawing.FontFamily
fontFamily
FontFamily of cell. |
System.Double
fontSize
Font size of cell. |
System.Boolean
isBold
Is text bold. |
System.Boolean
isItalic
Is text italic. |
System.Boolean
underline
Is text underlined. |
System.Drawing.ContentAlignment
textAlignment
Text alignment. |
System.Boolean
textWrap
Is text wrapped. |
BorderBoxStyle
borderBoxStyle
Border box style. |
System.Drawing.Color
borderColor
Color of border. |
System.Drawing.Color
borderTopColor
Color of top border. |
System.Drawing.Color
borderBottomColor
Color of bottom border. |
System.Drawing.Color
borderRightColor
Color of right border. |
System.Drawing.Color
borderLeftColor
Color of left border. |
SpreadStreamCellStyleInfo(SpreadCellFormat, IWorkbookExporter)
Initializes a new instance of the SpreadStreamCellStyleInfo class.
Declaration
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, IWorkbookExporter workbook)
Parameters
SpreadCellFormat
cellFormat
The cell format. |
IWorkbookExporter
workbook
The worksheet. |
SpreadStreamCellStyleInfo(SpreadCellFormat, ISpreadStreamExportCellStyleInfo)
Initializes a new instance of the SpreadStreamCellStyleInfo class.
Declaration
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, ISpreadStreamExportCellStyleInfo cellStyle)
Parameters
SpreadCellFormat
cellFormat
The cell format. |
ISpreadStreamExportCellStyleInfo
cellStyle
The cell style. |
Properties
BackColor
Gets or sets the fill of the excel cell.
Declaration
public Color BackColor { get; set; }
Property Value
System.Drawing.Color
The fill. |
Implements
BottomBorder
Gets or sets the bottom border.
Declaration
public object BottomBorder { get; set; }
Property Value
System.Object
The bottom border. |
Implements
CellFormat
Gets or sets the cell format.
Declaration
public SpreadCellFormat CellFormat { get; set; }
Property Value
SpreadCellFormat
The cell format. |
DiagonalDownBorder
Gets or sets the diagonal down border.
Declaration
public object DiagonalDownBorder { get; set; }
Property Value
System.Object
The diagonal down border. |
Implements
DiagonalUpBorder
Gets or sets the diagonal up border.
Declaration
public object DiagonalUpBorder { get; set; }
Property Value
System.Object
The diagonal up border. |
Implements
FontFamily
Gets or sets the font family of the excel cell.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
System.Drawing.FontFamily
The font family. |
Implements
FontSize
Gets or sets the size of the font of the excel cell.
Declaration
public double FontSize { get; set; }
Property Value
System.Double
The size of the font in points (pt). It will be automatically converted to the Device Independent Pixels, when setting. |
Implements
ForeColor
Gets or sets the ForeColor of the excel cell.
Declaration
public Color ForeColor { get; set; }
Property Value
System.Drawing.Color
The ForeColor. |
Implements
IsBold
Gets or sets a value indicating whether this text of the excel cell is bold.
Declaration
public bool IsBold { get; set; }
Property Value
System.Boolean
|
Implements
IsItalic
Gets or sets a value indicating whether the text of the excel cell is italic.
Declaration
public bool IsItalic { get; set; }
Property Value
System.Boolean
|
Implements
LeftBorder
Gets or sets the left border.
Declaration
public object LeftBorder { get; set; }
Property Value
System.Object
The left border. |
Implements
NumberFormat
Gets or sets the number format.
Declaration
public string NumberFormat { get; set; }
Property Value
System.String
The number format. |
Implements
RightBorder
Gets or sets the right border.
Declaration
public object RightBorder { get; set; }
Property Value
System.Object
The right border. |
Implements
TextAlignment
Gets or sets the text alignment.
Declaration
public ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
The text alignment. |
Implements
TextWrap
Gets or sets a value indicating whether the text of the excel cell is wrapped.
Declaration
public bool TextWrap { get; set; }
Property Value
System.Boolean
|
Implements
TopBorder
Gets or sets the top border.
Declaration
public object TopBorder { get; set; }
Property Value
System.Object
The top border. |
Implements
Underline
Gets or sets whether the text of the excel cell is underline.
Declaration
public bool Underline { get; set; }
Property Value
System.Boolean
The underline type. |