The C1Report type exposes the following members.

Methods

  Name Description
Public method AddScriptObject(String, Object)
Adds an object to the report's script context.
Public method AddScriptObject(String, Object, Boolean)
Adds an object to the report's script context.
Public method BeginInit
Signals the object that initialization is starting.
Public method Clear
Clears the current report.
Public method ClearGeneratedPages
Clears the pages and other info created during report generation. This method does not clear the report definition though.
Public method CopyFrom
Copies a report definition from another C1Report component.
Public method EndInit
Signals the object that initialization is complete.
Public method Evaluate
Evaluates a VBScript expression in the current report context.
Public method Execute
Executes a VBScript statement in the current report context.
Public method GetPageCount
Gets 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 method GetPageImage
Gets 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 method GetPageImages
Enumerates 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 method GetReportInfo(String)
Gets a list of reports available in an XML report definition file.
Public method GetReportInfo(XmlDocument)
Gets a list of reports available in an XmlDocument.
Public method Static member GetReportList(Stream)
Gets a list of reports available in an XML report definition file.
Public method Static member GetReportList(String)
Gets a list of reports available in an XML report definition file.
Public method Static member GetReportList(XmlDocument)
Gets a list of reports available in an XmlDocument.
Public method Load(Stream, String)
Loads a report from an XML report definition in stream.
Public method Load(String, String)
Loads a report from an XML report definition file.
Public method Load(XmlDocument, String)
Loads a report from an XmlDocument.
Public method ParseExpression
Parses a VBScript expression in the current report context.
Public method ParseStatement
Parses a VBScript statement in the current report context.
Public method Render
Renders the report into an internal collection of images.
Public method RenderToFile
Renders the report into a file.
Public method RenderToFilter
Renders the report into an ExportFilter object.
Public method RenderToStream(Stream, FileFormatEnum)
Renders the report into a Stream object.
Public method RenderToStream(Stream, FileFormatEnum, String, String)
Renders the report into an Html Stream.
Public method Save(String)
Saves the current report definition to a file.
Public method Save(XmlTextWriter)
Saves the current report definition to an XmlTextWriter object.
Public method Save(String, Boolean)
Saves the current report definition to a file.
Public method Save(XmlTextWriter, Boolean)
Saves the current report definition to an XmlTextWriter object.
Public method Save(Stream, Boolean, Boolean)
Saves the current report definition to a stream.
Public method Save(String, Boolean, Boolean)
Saves the current report definition to a file.
Public method Save(XmlTextWriter, Boolean, Boolean)
Saves the current report definition to an XmlTextWriter object.

See Also