Interface
ISpreadExportRenderer

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public interface ISpreadExportRenderer

Methods

Declaration

cs-api-definition
void AddHyperlink(string link)

Parameters

link

string

AddWorksheet(string)

Declaration

cs-api-definition
void AddWorksheet(string sheetName)

Parameters

sheetName

string

CallWorkbookCreated()

Declaration

cs-api-definition
void CallWorkbookCreated()

ClearCellSelectionValue()

Declaration

cs-api-definition
void ClearCellSelectionValue()

CreateCellSelection(int, int)

Declaration

cs-api-definition
void CreateCellSelection(int rowIndex, int columnIndex)

Parameters

rowIndex

int

columnIndex

int

CreateCellSelection(int, int, int, int)

Declaration

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

Parameters

fromRowIndex

int

fromColumnIndex

int

toRowIndex

int

toColumnIndex

int

CreateCellStyleInfo()

Declaration

cs-api-definition
void CreateCellStyleInfo()

CreateCellStyleInfo(Color, Color, FontFamily, double, bool, bool, bool, ContentAlignment, bool, BorderBoxStyle, Color, Color, Color, Color, Color, Orientation)

Declaration

cs-api-definition
void CreateCellStyleInfo(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, Orientation textOrientation = Orientation.Horizontal)

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

textOrientation

Orientation

CreateFloatingImage(int, int, int, int, byte[], string, int, int, int)

Declaration

cs-api-definition
void CreateFloatingImage(int rowIndex, int columnIndex, int offsetX, int offsetY, byte[] bytes, string extension, int width, int height, int rotationAngle)

Parameters

rowIndex

int

columnIndex

int

offsetX

int

offsetY

int

bytes

byte[]

extension

string

width

int

height

int

rotationAngle

int

CreateFreezePanes(int, int)

Declaration

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

Parameters

rowsCount

int

columnsCount

int

CreateGridViewExportDataRowInfo(int, List<IGridViewSpreadExportCellInfo>, bool)

Declaration

cs-api-definition
IGridViewSpreadExportRowInfo CreateGridViewExportDataRowInfo(int currentIndent, List<IGridViewSpreadExportCellInfo> cells, bool exportAsHidden)

Parameters

currentIndent

int

cells

List<IGridViewSpreadExportCellInfo>

exportAsHidden

bool

Returns

IGridViewSpreadExportRowInfo

CreateGridViewExportDataRowInfo(int, List<IGridViewSpreadExportCellInfo>, bool, int)

Declaration

cs-api-definition
IGridViewSpreadExportRowInfo CreateGridViewExportDataRowInfo(int currentIndent, List<IGridViewSpreadExportCellInfo> cells, bool exportAsHidden, int hierarchyLevel)

Parameters

currentIndent

int

cells

List<IGridViewSpreadExportCellInfo>

exportAsHidden

bool

hierarchyLevel

int

Returns

IGridViewSpreadExportRowInfo

CreateGridViewExportGroupRowInfo(int, string, int, bool)

Declaration

cs-api-definition
IGridViewSpreadExportRowInfo CreateGridViewExportGroupRowInfo(int currentIndent, string content, int colSpan, bool exportAsHidden)

Parameters

currentIndent

int

content

string

colSpan

int

exportAsHidden

bool

Returns

IGridViewSpreadExportRowInfo

CreateGridViewExportGroupRowInfo(int, string, int, bool, int)

Declaration

cs-api-definition
IGridViewSpreadExportRowInfo CreateGridViewExportGroupRowInfo(int currentIndent, string content, int colSpan, bool exportAsHidden, int hierarchyLevel)

Parameters

currentIndent

int

content

string

colSpan

int

exportAsHidden

bool

hierarchyLevel

int

Returns

IGridViewSpreadExportRowInfo

CreateWorkbook()

Declaration

cs-api-definition
void CreateWorkbook()

Export(Stream)

Declaration

cs-api-definition
void Export(Stream stream)

Parameters

stream

Stream

GetCellSelection()

Declaration

cs-api-definition
object GetCellSelection()

Returns

object

GetCellSelectionValue()

Declaration

cs-api-definition
object GetCellSelectionValue()

Returns

object

GetCellStyleInfo()

Declaration

cs-api-definition
ISpreadExportCellStyleInfo GetCellStyleInfo()

Returns

ISpreadExportCellStyleInfo

GetFileExtension(SpreadExportFormat)

Declaration

cs-api-definition
object GetFileExtension(SpreadExportFormat exportFormat)

Parameters

exportFormat

SpreadExportFormat

Returns

object

GetFormatProvider(SpreadExportFormat)

Declaration

cs-api-definition
void GetFormatProvider(SpreadExportFormat exportFormat)

Parameters

exportFormat

SpreadExportFormat

GetIsMerged(int, int)

Declaration

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

Parameters

rowIndex

int

columnIndex

int

Returns

bool

GetWorksheet()

Declaration

cs-api-definition
object GetWorksheet()

Returns

object

GetWorksheetColumnWidth(int)

Declaration

cs-api-definition
int GetWorksheetColumnWidth(int columnIndex)

Parameters

columnIndex

int

Returns

int

GetWorksheetRowHeight(int)

Declaration

cs-api-definition
double GetWorksheetRowHeight(int rowIndex)

Parameters

rowIndex

int

Returns

double

GroupRows(int, int, int)

Declaration

cs-api-definition
void GroupRows(int startRow, int endRow, int level)

Parameters

startRow

int

endRow

int

level

int

ImportWorkbook(Stream)

Declaration

cs-api-definition
void ImportWorkbook(Stream stream)

Parameters

stream

Stream

MergeCellSelection()

Declaration

cs-api-definition
void MergeCellSelection()

RegisterFormatProvider(SpreadExportFormat)

Declaration

cs-api-definition
void RegisterFormatProvider(SpreadExportFormat exportFormat)

Parameters

exportFormat

SpreadExportFormat

ReplaceWorksheet(string)

Declaration

cs-api-definition
bool ReplaceWorksheet(string sheetName)

Parameters

sheetName

string

Returns

bool

SetCellSelectionFormat(string)

Declaration

cs-api-definition
void SetCellSelectionFormat(string formatString)

Parameters

formatString

string

SetCellSelectionValue(DataType, object)

Declaration

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

Parameters

dataType

DataType

value

object

SetCellSelectionValue(string)

Declaration

cs-api-definition
void SetCellSelectionValue(string text)

Parameters

text

string

SetWorksheetColumnWidth(int, double, bool)

Declaration

cs-api-definition
void SetWorksheetColumnWidth(int columnIndex, double value, bool isCustom)

Parameters

columnIndex

int

value

double

isCustom

bool

SetWorksheetRowHeight(int, int, bool)

Declaration

cs-api-definition
void SetWorksheetRowHeight(int rowIndex, int rowHeight, bool isCustom)

Parameters

rowIndex

int

rowHeight

int

isCustom

bool