Spread ASP.NET 6.0 Product Documentation
Format Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > GeneralCellType Class : Format Method


obj
Object in the data model from which to get formatting information

Glossary Item Box

When deriving a cell type based on this type, override this to change what gets passed back and formatted as a string into the cell on the sheet from the object in the data model.

Syntax

Visual Basic (Declaration) 
Public Overrides Function Format( _
   ByVal obj As Object _
) As String
Visual Basic (Usage)Copy Code
Dim instance As GeneralCellType
Dim obj As Object
Dim value As String
 
value = instance.Format(obj)
C# 
public override string Format( 
   object obj
)

Parameters

obj
Object in the data model from which to get formatting information

Return Value

Formatted string to put in the cell on the sheet

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.