Share via


ReportDocument.ExportOptions Property

Gets the ExportOptions class instance.

Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)

Syntax

'Declaration

Public Overrideable ReadOnly Property ExportOptions As CrystalDecisions.Shared.ExportOptions
public virtual CrystalDecisions.Shared.ExportOptions ExportOptions {get;}

Example

This example sets the export options of a report.

'Declaration

      Private Sub SetExportOptions(ByVal myReportDocument As ReportDocument, ByVal myFormatType As ExportFormatType)
        Dim myExportOptions As ExportOptions = myReportDocument.ExportOptions
        myExportOptions.ExportFormatType = myFormatType
      End Sub
      
      private void SetExportFormat(ReportDocument reportDocument, ExportFormatType formatType)
      {
          ExportOptions exportOptions = reportDocument.ExportOptions;
          exportOptions.ExportFormatType = formatType;
      }
      

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio .NET 2002

See Also

Reference

ReportDocument Class
ReportDocument Members
CrystalDecisions.CrystalReports.Engine Namespace