[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReport.AddAssembly

AddAssembly Method

AddAssembly(Assembly)

Adds the specified external assembly to use inside scripts.

Declaration
public void AddAssembly(Assembly assembly)
Parameters
Type Name Description
Assembly assembly

A Assembly value representing the external assembly that could be added.

Examples
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.LoadLayout("MySectionReport.rpx");
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.AddAssembly(System.Reflection.Assembly.Load("System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));