Spread for ASP.NET 7.0 Product Documentation
SetParseFormat Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetStyleModel Class : SetParseFormat Method


row
Row index
column
Column index
formatString
Format string built by the parser
info
IFormatProvider object built by the parser

Glossary Item Box

Sets the parse format for the cell at the specified row and column.

Syntax

Visual Basic (Declaration) 
Public Sub SetParseFormat( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal formatString As String, _
   ByVal info As IFormatProvider _
) 
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetStyleModel
Dim row As Integer
Dim column As Integer
Dim formatString As String
Dim info As IFormatProvider
 
instance.SetParseFormat(row, column, formatString, info)
C# 
public void SetParseFormat( 
   int row,
   int column,
   string formatString,
   IFormatProvider info
)

Parameters

row
Row index
column
Column index
formatString
Format string built by the parser
info
IFormatProvider object built by the parser

Exceptions

ExceptionDescription
System.IndexOutOfRangeException Specified row index is not valid; must be between -1 and the total number of rows
System.IndexOutOfRangeException Specified column index is not valid; must be between -1 and the total number of columns

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.