[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Win.Viewer.CanExport

CanExport Property

CanExport

Gets a value indicating whether exporting the report is permitted.

Declaration
[Browsable(false)]
public bool CanExport { get; }
Property Value
Type Description
bool
<code>True</code> if export is permitted; otherwise, <code>false</code>. 

Exporting is permitted only if the viewer is not disposed, there is at least one page loaded in the viewer, and the underlying API supports exporting.

Examples
// Assuming 'exportMenuItem' is a ToolStripMenuItem for exporting
exportMenuItem.Enabled = viewer.CanExport;