Spread for ASP.NET 9.0 Product Documentation
GetRenderer Method
Example 


Row index of the cell
Column index of the cell
Gets the renderer used to render a cell at the specified row and column.
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 that represents the renderer used to render the cell
Example
This example returns the renderer for the specified cell.
FarPoint.Web.Spread.SheetView sv;
FarPoint.Web.Spread.Renderer.IRenderer r;
sv = e.SheetView;
r = sv.GetRenderer(0, 0);
Response.Write("The renderer for the cell is a " + Convert.ToString(r));
Dim sv As FarPoint.Web.Spread.SheetView
Dim r As FarPoint.Web.Spread.Renderer.IRenderer
sv = FpSpread1.ActiveSheetView
r = sv.GetRenderer(0, 0)
Response.Write("The renderer for the cell is a " & Convert.ToString(r))
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members
BaseRenderer Class

 

 


Copyright © GrapeCity, inc. All rights reserved.