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


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

Glossary Item Box

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

Syntax

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)
C# 
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.
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)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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