Spread Windows Forms 11.0 Product Documentation
GetRenderer Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetRenderer Method
Row index of the cell
Column index of the cell
Gets the renderer used to render a specified cell on this sheet.
Syntax
'Declaration
 
Public Overridable Function GetRenderer( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As IRenderer
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As IRenderer
 
value = instance.GetRenderer(row, column)
public virtual IRenderer GetRenderer( 
   int row,
   int column
)

Parameters

row
Row index of the cell
column
Column index of the cell

Return Value

IRenderer object containing the renderer to render the cell
Example
This example illustrates the use of this member by returning the renderer for the specified cell.
FarPoint.Win.Spread.CellType.IRenderer r;
r = fpSpread1.ActiveSheet.GetRenderer(0, 0);
label1.Text = "The render for the first cell is a - " + Convert.ToString(r);
Dim r As FarPoint.Win.Spread.CellType.IRenderer
r = FpSpread1.ActiveSheet.GetRenderer(0, 0)
Label1.Text = "The renderer for the first cell is a - " & Convert.ToString(r)
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing with Cell Types