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 Spread
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
Spread Current excel cell. |
System. BackColor of cell. |
System. ForeColor of cell. |
System. FontFamily of cell. |
System. Font size of cell. |
System. Is text bold. |
System. Is text italic. |
System. Is text underlined. |
System. Text alignment. |
System. Is text wrapped. |
Border Border box style. |
System. Color of border. |
System. Color of top border. |
System. Color of bottom border. |
System. Color of right border. |
System. Color of left border. |
SpreadStreamCellStyleInfo(SpreadCellFormat, IWorkbookExporter)
Initializes a new instance of the Spread
Declaration
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, IWorkbookExporter workbook)
Parameters
Spread The cell format. |
IWorkbook The worksheet. |
SpreadStreamCellStyleInfo(SpreadCellFormat, ISpreadStreamExportCellStyleInfo)
Initializes a new instance of the Spread
Declaration
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, ISpreadStreamExportCellStyleInfo cellStyle)
Parameters
Spread The cell format. |
ISpread The cell style. |
Properties
BackColor
Gets or sets the fill of the excel cell.
Declaration
public Color BackColor { get; set; }
Property Value
System. The fill. |
Implements
BottomBorder
Gets or sets the bottom border.
Declaration
public object BottomBorder { get; set; }
Property Value
System. The bottom border. |
Implements
CellFormat
Gets or sets the cell format.
Declaration
public SpreadCellFormat CellFormat { get; set; }
Property Value
Spread The cell format. |
DiagonalDownBorder
Gets or sets the diagonal down border.
Declaration
public object DiagonalDownBorder { get; set; }
Property Value
System. The diagonal down border. |
Implements
DiagonalUpBorder
Gets or sets the diagonal up border.
Declaration
public object DiagonalUpBorder { get; set; }
Property Value
System. 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. 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. 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. 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.
|
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.
|
Implements
LeftBorder
Gets or sets the left border.
Declaration
public object LeftBorder { get; set; }
Property Value
System. The left border. |
Implements
NumberFormat
Gets or sets the number format.
Declaration
public string NumberFormat { get; set; }
Property Value
System. The number format. |
Implements
RightBorder
Gets or sets the right border.
Declaration
public object RightBorder { get; set; }
Property Value
System. The right border. |
Implements
TextAlignment
Gets or sets the text alignment.
Declaration
public ContentAlignment TextAlignment { get; set; }
Property Value
System. 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.
|
Implements
TopBorder
Gets or sets the top border.
Declaration
public object TopBorder { get; set; }
Property Value
System. 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. The underline type. |