Interface
ISpreadStreamExportRenderer

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public interface ISpreadStreamExportRenderer

Properties

ColumnIndex

Declaration

cs-api-definition
int ColumnIndex { get; set; }

Property Value

int

RowIndex

Declaration

cs-api-definition
int RowIndex { get; set; }

Property Value

int

Methods

AddWorksheet(string)

Declaration

cs-api-definition
void AddWorksheet(string sheetName)

Parameters

sheetName

string

ApplyCellFormat(object)

Declaration

cs-api-definition
void ApplyCellFormat(object format)

Parameters

format

object

ApplyCellStyle(ISpreadStreamExportCellStyleInfo, string)

Declaration

cs-api-definition
void ApplyCellStyle(ISpreadStreamExportCellStyleInfo cellStyle, string formatString)

Parameters

cellStyle

ISpreadStreamExportCellStyleInfo

formatString

string

CallOnWorksheetCreated()

Declaration

cs-api-definition
bool CallOnWorksheetCreated()

Returns

bool

ClearCellValue()

Declaration

cs-api-definition
void ClearCellValue()

CreateBorderCellStyle(ISpreadStreamExportCellStyleInfo)

Declaration

cs-api-definition
void CreateBorderCellStyle(ISpreadStreamExportCellStyleInfo cellStyle)

Parameters

cellStyle

ISpreadStreamExportCellStyleInfo

CreateCell()

Declaration

cs-api-definition
void CreateCell()

CreateCellStyle(Color, Color, FontFamily, double, bool, bool, bool, ContentAlignment, bool, BorderBoxStyle, Color, Color, Color, Color, Color)

Declaration

cs-api-definition
void CreateCellStyle(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

backColor

Color

foreColor

Color

fontFamily

FontFamily

fontSize

double

isBold

bool

isItalic

bool

underline

bool

textAlignment

ContentAlignment

textWrap

bool

borderBoxStyle

BorderBoxStyle

borderColor

Color

borderTopColor

Color

borderBottomColor

Color

borderRightColor

Color

borderLeftColor

Color

CreateCellStyleFromLightStyle(ISpreadStreamExportCellStyleInfo)

Declaration

cs-api-definition
ISpreadStreamExportCellStyleInfo CreateCellStyleFromLightStyle(ISpreadStreamExportCellStyleInfo cellStyle)

Parameters

cellStyle

ISpreadStreamExportCellStyleInfo

Returns

ISpreadStreamExportCellStyleInfo

CreateCellStyleFromTheme()

Declaration

cs-api-definition
void CreateCellStyleFromTheme()

CreateColumn()

Declaration

cs-api-definition
void CreateColumn()

CreateFreezePanes(int, int)

Declaration

cs-api-definition
void CreateFreezePanes(int rowsCount, int columnsCount)

Parameters

rowsCount

int

columnsCount

int

CreateLightCellStyle(Color, Color, FontFamily, double, bool, bool, bool, ContentAlignment, bool, BorderBoxStyle, Color, Color, Color, Color, Color)

Declaration

cs-api-definition
void CreateLightCellStyle(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

backColor

Color

foreColor

Color

fontFamily

FontFamily

fontSize

double

isBold

bool

isItalic

bool

underline

bool

textAlignment

ContentAlignment

textWrap

bool

borderBoxStyle

BorderBoxStyle

borderColor

Color

borderTopColor

Color

borderBottomColor

Color

borderRightColor

Color

borderLeftColor

Color

CreateMergedCells(int, int, int, int)

Declaration

cs-api-definition
void CreateMergedCells(int fromRowIndex, int fromColumnIndex, int toRowIndex, int toColumnIndex)

Parameters

fromRowIndex

int

fromColumnIndex

int

toRowIndex

int

toColumnIndex

int

CreateRow()

Declaration

cs-api-definition
void CreateRow()

CreateWorkbook(Stream, SpreadStreamExportFormat)

Declaration

cs-api-definition
void CreateWorkbook(Stream stream, SpreadStreamExportFormat exportFormat)

Parameters

stream

Stream

exportFormat

SpreadStreamExportFormat

CreateWorkbook(Stream, SpreadStreamExportFormat, FileExportMode)

Declaration

cs-api-definition
void CreateWorkbook(Stream stream, SpreadStreamExportFormat exportFormat, FileExportMode fileExportMode)

Parameters

stream

Stream

exportFormat

SpreadStreamExportFormat

fileExportMode

FileExportMode

FinishCell()

Declaration

cs-api-definition
void FinishCell()

FinishExport()

Declaration

cs-api-definition
void FinishExport()

GetBordersFromExistingStyle(ISpreadStreamExportCellStyleInfo)

Declaration

cs-api-definition
ISpreadStreamExportCellStyleInfo GetBordersFromExistingStyle(ISpreadStreamExportCellStyleInfo cellStyle)

Parameters

cellStyle

ISpreadStreamExportCellStyleInfo

Returns

ISpreadStreamExportCellStyleInfo

GetCell()

Declaration

cs-api-definition
object GetCell()

Returns

object

GetCellFormat(bool)

Declaration

cs-api-definition
object GetCellFormat(bool createNew)

Parameters

createNew

bool

Returns

object

GetCellStyleInfo()

Declaration

cs-api-definition
ISpreadStreamExportCellStyleInfo GetCellStyleInfo()

Returns

ISpreadStreamExportCellStyleInfo

GetColumn()

Declaration

cs-api-definition
object GetColumn()

Returns

object

GetFileExtension(SpreadStreamExportFormat)

Declaration

cs-api-definition
string GetFileExtension(SpreadStreamExportFormat exportFormat)

Parameters

exportFormat

SpreadStreamExportFormat

Returns

string

GetIsMerged(int, int)

Declaration

cs-api-definition
bool GetIsMerged(int rowIndex, int columnIndex)

Parameters

rowIndex

int

columnIndex

int

Returns

bool

GetRow(bool)

Declaration

cs-api-definition
object GetRow(bool finishCell)

Parameters

finishCell

bool

Returns

object

GetWorksheet()

Declaration

cs-api-definition
object GetWorksheet()

Returns

object

GroupCurrentRow(int)

Declaration

cs-api-definition
void GroupCurrentRow(int level)

Parameters

level

int

SetCellFormat(string, bool)

Declaration

cs-api-definition
void SetCellFormat(string formatString, bool apply)

Parameters

formatString

string

apply

bool

SetCellValue(DataType, object)

Declaration

cs-api-definition
void SetCellValue(DataType dataType, object value)

Parameters

dataType

DataType

value

object

SetCellValue(string)

Declaration

cs-api-definition
void SetCellValue(string text)

Parameters

text

string

SetColumnWidth(double, bool)

Declaration

cs-api-definition
void SetColumnWidth(double width, bool inPixels)

Parameters

width

double

inPixels

bool

SetHiddenColumn()

Declaration

cs-api-definition
void SetHiddenColumn()

SetHiddenRow()

Declaration

cs-api-definition
void SetHiddenRow()

SetRowHeight(double, bool)

Declaration

cs-api-definition
void SetRowHeight(double height, bool inPixels)

Parameters

height

double

inPixels

bool

SkipCells(int)

Declaration

cs-api-definition
void SkipCells(int count)

Parameters

count

int

SkipColumns(int)

Declaration

cs-api-definition
void SkipColumns(int count)

Parameters

count

int