[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Report.Code

Code Property

Code

Gets or sets a string of code available to the report for use as a custom functions.

Declaration
public string Code { get; set; }
Property Value
Type Description
string

A string value containing the custom functions.

Remarks

The custom functions contained in the string must be instance methods written in Visual Basic.NET syntax.

See the "Custom Code" topic in the User Guide for more information.

Examples
Report report = new Report();
report.Code = "Public Function CustomFunction() As String Return \"Hello\" End Function";