ActiveReports.Design6 Assembly > DataDynamics.ActiveReports.Design Namespace > Designer Class : Report Property |
'Declaration Public Property Report As ActiveReport
public ActiveReport Report {get; set;}
ActiveReport
public object NewReport(string name) { try { this.ardMain.NewReport(); this.ardMain.Report.Document.Name = name; return this.ardMain.Report; } catch(DataDynamics.ActiveReports.ReportException) { MessageBox.Show("Error occurred while creating new report", "Error in Diamond Reports"); return null; } }
Public Function NewReport(ByVal name As String) As Object Implements IPlugInHost.NewReport Try Me.ardMain.NewReport() Me.ardMain.Report.Document.Name = name Return Me.ardMain.Report Catch ex As DataDynamics.ActiveReports.ReportException MessageBox.Show("Error occurred while creating new report", "Error in Diamond Reports") Return Nothing End Try End Function
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2