Spread for ASP.NET 7.0 Product Documentation
GetDefaultRenderer Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetDefaultRenderer Method


Glossary Item Box

Gets the default renderer used to render the cell.

Syntax

Visual Basic (Declaration) 
Public Function GetDefaultRenderer() As IRenderer
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As IRenderer
 
value = instance.GetDefaultRenderer()
C# 
public IRenderer GetDefaultRenderer()

Return Value

IRenderer object that represents the default renderer

Example

This example creates a SheetView object and assigns it to the active sheet. It returns the default editor and renderer of the sheet to a list box.
C#Copy Code
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultEditor()));
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultRenderer()));
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultEditor()))
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultRenderer()))

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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