StiBooleanFormatService Class
Namespace: Stimulsoft.Report.Components.TextFormats
Inheritance
Inherits from: StiFormatService
Constructors
| Constructor | Description |
|---|---|
| StiBooleanFormatService() | Creates a new format of the type StiBooleanFormatService. |
StiBooleanFormatService()
Creates a new format of the type StiBooleanFormatService.
Methods
| Method | Returns | Description |
|---|---|---|
| Clone (+1 overloads) | object | |
| CreateNew | StiFormatService | |
| Equals | bool | |
| Format | string | Formats the specified object on specified rule and returns the line. |
| GetHashCode | int | |
| LoadFromJsonObject | void | |
| SaveToJsonObject | JObject |
Method Details
Clone
Clone(): object
Returns object
Clone(): object
Returns object
CreateNew
CreateNew(): StiFormatService
Returns StiFormatService
Equals
Equals(obj: object): bool
Parameters
- obj (object)
Returns bool
Format
Format(stringFormat: string, arg: object): string
Formats the specified object on specified rule and returns the line.
Parameters
- stringFormat (string) — String of the formatting.
- arg (object) — Object for formatting.
Returns string — Formatted string.
GetHashCode
GetHashCode(): int
Returns int
LoadFromJsonObject
LoadFromJsonObject(jObject: JObject): void
Parameters
- jObject (JObject)
SaveToJsonObject
SaveToJsonObject(mode: StiJsonSaveMode): JObject
Parameters
- mode (StiJsonSaveMode)
Returns JObject
Fields
| Field | Type | Description |
|---|---|---|
| falseDisplay | string | |
| falseValue | string | |
| nullDisplay | string | |
| trueDisplay | string | |
| trueValue | string |