[]
Adds the specified external assembly to use inside scripts.
public void AddAssembly(Assembly assembly)
Type | Name | Description |
---|---|---|
Assembly | assembly | A Assembly value representing the external assembly that could be added. |
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"));