FAQ/Formatting/How-do-I-hide-Output-Types.md
... ...
@@ -1,10 +1,14 @@
1
-#How do I hide Output Types?
1
+#Hiding Output Types
2 2
3 3
[[_TOC_]]
4 4
5
-##Hiding Output Types
5
+##Question
6 6
7
-In order the hide the output types that are located in the ReportViewer, you would need to add the below line of code in your ConfigureSettings().
7
+How do I Use the OutputTypes Collection?
8
+
9
+##Answer
10
+
11
+The OutputTypes collection is used to hold data representing the possible export formats that are available in Izenda AdHoc. This collection is most used to hide certain buttons on the report designer toolbar. In order to hide the output types that are located in the Report Designer, you would need to add the below line of code in your [[InitializeReporting()|/FAQ/InitializeReporting]] method.
8 12
9 13
```csharp
10 14
AdHocSettings.OutputTypes["xxx"].Hidden=true;
... ...
@@ -18,4 +22,17 @@ In order to hide OpenOffice from the export types in the ReportViewer you would
18 22
AdHocSettings.OutputTypes["ODT"].Hidden=true;
19 23
```
20 24
21
-Other formats that are also available to be hidden are sql, pdf, csv, bulkcsv, xls, doc, xml and rtf.
... ...
\ No newline at end of file
0
+##Output type keys
1
+
2
+Here is a list of the possible output types. Input the exact string below into the string parameter of the output type as is shown above.
3
+
4
+* CSV
5
+* PDF
6
+* DOC
7
+* XLS(MIME)
8
+* SQL
9
+* BULKCSV
10
+* XML
11
+* ODT
12
+* RTF
13
+* HTMLREPORT
... ...
\ No newline at end of file