MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / SectionReport Class / ScriptLanguage Property
Example

ScriptLanguage Property
Sets or returns the scripting language ActiveReports will use to write and interpret the script properties. 
Syntax
'Declaration
 
Public Property ScriptLanguage As String
 

Property Value

String value that is the current scripting language.  The default value is C#.

Remarks
When the ScriptLanguage is set, the script editor will use the specified scripting language.  ActiveReports supports C# and VB.NET for run-time scripting.
Example
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.ScriptLanguage = "C#";
See Also