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


value
Format string
isDateFormat
Whether to consider a number as a date and time

Glossary Item Box

Sets the format string used to format values.

Syntax

Visual Basic (Declaration) 
Public Sub SetFormatString( _
   ByVal value As String, _
   ByVal isDateFormat As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As GeneralFormatter
Dim value As String
Dim isDateFormat As Boolean
 
instance.SetFormatString(value, isDateFormat)
C# 
public void SetFormatString( 
   string value,
   bool isDateFormat
)

Parameters

value
Format string
isDateFormat
Whether to consider a number as a date and time

Remarks

Set isDateFormat to true if the format you are providing is a date-time format.

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.