Spread Windows Forms 8.0 Product Documentation
GetRenderer Method
Example 


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing with Cell Types

 

 


Copyright © GrapeCity, inc. All rights reserved.