af99aceb6771ae8762b8758ca50a68d1eea02a98
FAQ/Questions/Add-Formatting-Options.md
| ... | ... | @@ -15,6 +15,6 @@ In this example, we will quickly add a new format option to the list called "Bol |
| 15 | 15 | We can also use an Izenda Format object as an argument. Below is the method of adding a formatting option called "Scientific" to the list of formats. Items added this way can be made available for specific **SqlTypeGroups** and will not override any of the existing formats. |
| 16 | 16 | |
| 17 | 17 | ```csharp |
| 18 | - SimpleFormat scientificFormat = new SimpleFormat("Scientific", "{0:E}", new SqlTypeGroup[] {SqlTypeGroup.Real, SqlTypeGroup.Numeric}); |
|
| 19 | - AdHocSettings.Formats.Add("Scientific", scientificFormat); |
|
| 18 | + SimpleFormat scientificFormat = new SimpleFormat("Scientific", "{0:E}", new SqlTypeGroup[] {SqlTypeGroup.Real, SqlTypeGroup.Numeric}); |
|
| 19 | + AdHocSettings.Formats.Add("Scientific", scientificFormat); |
|
| 20 | 20 | ``` |
| ... | ... | \ No newline at end of file |