ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / SectionReport Class
Properties Methods Events

In This Topic
    SectionReport Class Members
    In This Topic

    The following tables list the members exposed by SectionReport.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public PropertyGets a FieldCollection object containing all of the calculated fields in the report.  
    Public PropertySpecifies if the engine should use legacy GDI/GDI+ rendering or new cross-platform based rendering implementation.  
    Public PropertyProvides information on a specific culture, including its names and the writing system.  
    Public PropertyReturns the current page instance.  
    Public Property

    Gets or sets the specified list in an GrapeCity.ActiveReports~GrapeCity.ActiveReports.SectionReport~DataSource.html to which the report will bind.

     
    Public PropertyGets or sets the data source from which the report will retrieve data.  
    Public PropertyGets a reference to the report output Document object.  
    Public PropertyAllows to catch script exceptions in the debugger. The default value is False.  
    Public PropertyStops the reporting engine from throwing exceptions and instead displays the provided string.  
    Public PropertyReturns the current data binding collection.  This collection contains the available Field objects to which the report controls and sections can be bound.  
    Public PropertyGets or sets font resolver for CrossPlatform CompatibilityMode. null means the default resolver.  
    Public PropertySets or returns the current state of the report layout.  This property is set to True when any changes are made to the report layout since it was last saved.  
    Public Property

    Sets or returns a custom action following the rendering of the current record.

     
    Public PropertySets or returns the maximum number of pages that the report will create.  
    Public PropertyGets or sets the name of the report.  
    Public PropertyReturns the number of the current page being processed when a report is running.  
    Public PropertyReturns a reference to the current report's page settings.   
    Public PropertyReturns a reference to the data source query parameters collection.  
    Public PropertyGets a reference to the parent report.  
    Public PropertySets or returns the report's printable width in inches.  
    Public PropertyGets the object responsible for resolving report resources.  
    Public PropertySets or returns the script code for a report's events.  Either this property or the script editor may be used to add script to a report.  
    Public PropertySets or returns the scripting language ActiveReports will use to write and interpret the script properties.   
    Public PropertyReturns a reference to the report's sections collection.  
    Public PropertySets or returns whether or not the query parameters dialog box will appear when the report is run.  
    Public PropertyReturns the current state of the report.  
    Public PropertyReturns a collection of formatting styles used to format controls in the report.  
    Public Property

    Sets or returns a user-defined value.

     
    Public PropertyReturns the product's version number.  
    Public PropertyAdds a specified image to the report's background.  The watermark image can be positioned, sized, aligned and placed on specified pages by using the other watermark properties.  
    Public PropertySets or returns the watermark's general vertical and horizontal position when it is added to the canvas.  
    Public PropertySets or returns a value indicating the specific pages to which the watermark should be added.  
    Public PropertySets or returns how the watermark will be sized when the image is rendered on the page.  
    Top
    Public Methods
     NameDescription
    Public MethodAdds additional valid script code to the report's scripting context.  Using AddCode allows complete functions to be added to a report's script at run time.  The added functions can be called from the report events in script.  
    Public MethodAdds a license key to the report so licensed controls can be added to sections at run time by using the Controls.Add method.  
    Public MethodAdds an object to the script's global namespace.  This method allows scripts to become aware of custom classes contained within a project.  Once an item has been added, the script can use the objectName string to reference the object and the functions contained within the class.  
    Public MethodAdds a reference to the specified assembly to be loaded into the scripting run-time context.  
    Public MethodCancels the report's processing. Any rendered pages will be cleared from the report's Document object.  
    Public Methodstatic (Shared in Visual Basic)Converts value from centimeters to inches.  
    Public MethodReleases the report instance from memory.  
    Public Methodstatic (Shared in Visual Basic)Converts value from inches to centimeters.  
    Public MethodOverloaded. Retrieves a report XML layout (RPX) from a file, stream or resource.  
    Public MethodOverloaded. Loads an external stylesheet to use with the report.  
    Public MethodClears the script of any items added using the GrapeCity.ActiveReports~GrapeCity.ActiveReports.SectionReport~AddNamedItem.html method or code added using the GrapeCity.ActiveReports~GrapeCity.ActiveReports.SectionReport~AddCode.html method.  This does not affect the pre-saved report layout (RPX) file and only clears code added using the above methods.  
    Public MethodResets the watermark to its default value.  
    Public MethodResets the report data source and clears the pages collection.  
    Public MethodOverloaded. Starts the report processing.  
    Public MethodOverloaded. Saves a report's XML layout to a stream or file.  
    Public MethodOverloaded. Saves a reports styles to an external stylesheet.  
    Public MethodStops processing the report.  
    Top
    Public Events
     NameDescription
    Public EventRaised after the ReportStart event to allow the addition of custom fields to the report's fields collection.  
    Public EventRaised when the properties of the report's data source are modified.  
    Public EventRaised every time a new record is processed.  
    Public EventOccurs when the report needs to obtain data source credentials from the calling application.  
    Public EventRaised if the report's data source does not return any records and there is no data to be processed.  
    Public EventRaised after the report finishes rendering each page.  
    Public EventRaised before the report renders any output to a new page.  
    Public EventRaised after the user closes the query parameters dialog.  
    Public EventRaised when the user cancels a print job.  
    Public EventRaised for each page while printing the report document.  
    Public EventRaised after the report finishes processing all pages.  
    Public EventRaised before a report starts processing.  
    Top
    See Also