[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Components.Interfaces.IFormattingService.Format

Format Method

Format(object, IStyle)

Returns a string representation of the specified value using IStyle and according to the language settings defined in the report or current server language.

Declaration
string Format(object value, IStyle style)
Parameters
Type Name Description
object value
IStyle style
Returns
Type Description
string
Remarks

According to RDL specs. report item language takes precedence over report language and everything fallbacks on a default (server -- whatever it is) language.

Format(object, string)

Returns a string representation of the specified value consistent with the current report language settings and using the specified format string.

Declaration
string Format(object value, string formatSpecifier)
Parameters
Type Name Description
object value
string formatSpecifier
Returns
Type Description
string