Spread Windows Forms 7.0 Product Documentation
GetRenderer Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetRenderer Method

Row index of the cell
Column index of the cell

Glossary Item Box

Gets the renderer used to render a specified cell on this sheet.


Visual Basic (Declaration) 
Public Overridable Function GetRenderer( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As IRenderer
Visual Basic (Usage)Copy Code
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


Row index of the cell
Column index of the cell

Return Value

IRenderer object containing the renderer to render the cell


This example illustrates the use of this member by returning the renderer for the specified cell.
C#Copy Code
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);
Visual BasicCopy Code
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)


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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.