Exago .NET API Documentation
AllowExcelOutput Property
Example 
WebReports.Api.Common Namespace > General Class : AllowExcelOutput Property
Enable or disable this type as one of the allowed file export types throughout the application.
Syntax
public System.bool AllowExcelOutput {get; set;}

Property Value

True to allow this file export type or False to restrict it.
Remarks
The same as checking or unchecking the Admin Console > General > Main Settings > Allowed Export Types checkboxes.
Example
Restrict all output types except for PDF
//Allow ONLY PDF exports
api.General.AllowCsvOutput = false;
api.General.AllowExcelOutput = false;
api.General.AllowRtfOutput = false;
api.General.AllowPdfOutput = true;
See Also

Reference

General Class
General Members

Exago Knowledge Base

Roles
Main Settings