Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class


In This Topic
    C1Report Class Methods
    In This Topic

    For a list of all members of this type, see C1Report members.

    Public Methods
     NameDescription
    Public MethodOverloaded. Adds an object to the report's script context.  
    Public MethodSignals the object that initialization is starting.  
    Public MethodClears the current report.  
    Public MethodClears the pages and other info created during report generation. This method does not clear the report definition though.  
    Public MethodCopies a report definition from another C1Report component.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Overridden. Releases the resources used by the component.  
    Public MethodSignals the object that initialization is complete.  
    Public MethodOverloaded. Evaluates a VBScript expression in the current report context.  
    Public MethodOverloaded. Executes a VBScript statement in the current report context.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodGets the total number of pages in the generated report. Use this method rather than Count on the PageImages collection as accessing that property creates images for all pages at once and thus can exhaust system resources.  
    Public MethodGets a metafile representing the specified page. Use this method rather than the PageImages collection as accessing that property creates images for all pages at once and thus can exhaust system resources.  
    Public MethodEnumerates page images (represented by metafiles) of the generated report. Using this method in a "foreach" loop allows to iterate over all pages of a large report without exhausting system resources. This approach is preferable to PageImages property that creates images for all pages and can consume a large amount of resources.  
    Public MethodOverloaded. Gets a list of reports available in an XML report definition file.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a list of reports available in an XML report definition file.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Loads a report from an XML report definition in stream.  
    Public MethodParses a VBScript expression in the current report context.  
    Public MethodOverloaded. Parses a VBScript statement in the current report context.  
    Public MethodOverloaded. Prints the current report with default printer settings, not showing the print progress dialog.  
    Public MethodOverloaded. Shows the standard print dialog, allowing the user to print the current document.  
    Public MethodRenders the report into an internal collection of images.  
    Public MethodRenders the report into a file.  
    Public MethodRenders the report into an ExportFilter object.  
    Public MethodOverloaded. Renders the report into a System.IO.Stream object.  
    Public MethodOverloaded. Saves the current report definition to a file.  
    Public MethodAssigns specified values to the CreationDevice and CreationPrinterName properties. Using this method is more efficient than setting the two properties individually.  
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected MethodRaises the EndPage event.  
    Protected MethodRaises the EndReport event.  
    Protected MethodRaises the EndSection event.  
    Protected MethodRaises the NoData event.  
    Protected MethodRaises the PrintSection event.  
    Protected MethodRaises the ReportError event.  
    Protected MethodRaises the StartPage event.  
    Protected MethodRaises the StartReport event.  
    Protected MethodRaises the StartSection event.  
    Top
    See Also