What's New in 2011 v1
Several enhancements and changes were made to ComponentOne Reports for WinForms in the 2011 v1 release.
New Features
The following improvements were made in the 2011 v1 release of ComponentOne Reports for WinForms:
• New C1MultiDocument Component
The C1MultiDocument component was added in this release. This component is designed to allow creating, persisting and exporting large documents that cannot be handled by a single C1PrintDocument object due to memory limitations. See Working with C1MultiDocument for more information.
Improvements and Changes
The following improvements were made in the 2011 v1 release of ComponentOne Reports for WinForms:
• Obsolete Property
The C1Report.PageImages property has been marked as obsolete as using the GetPageCount, GetPageImage, and GetPageImages methods is preferable.
• RTF Support
Added support for the latest RTF implementation from Microsoft if that is available on the system: rtf window class: RICHEDIT60W, provided by riched20.dll shipped with MS Office 2007.
New Members
New members were added to Reports for Winforms in the 2011 v1 release.
Class |
Member |
Description |
PageNumberingChange property |
Gets or sets the PageNumberingChange object applied to the first page of the document. | |
MsPrintDocumentPrintEmfType property |
Gets or sets the type of metafiles used when printing standard .NET PrintDocument documents. The default is EmfType.EmfPlusDual. If your printer needs to scan the output for data (for example, a fax number; a case in point is Tobit Faxware) and fails, try setting this to EmfType.EmfOnly. Note that this property ONLY affects printing of standard .NET PrintDocument documents, and has no bearing on other supported document types. | |
GetPageCount method |
Gets the total number of pages in the generated report. Returns the total page count. | |
GetPageImage method |
Gets a metafile representing the specified page. pageIndex: 0-based page index. Returns the metafile representing the page. | |
GetPageImages method |
Enumerates page images (represented by metafiles) of the generated report. Using this method in a "foreach" loop allows iterating 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. Returns: An IEnumerable that allows iterating over the page images. The C1Report.PageImages property has been marked as obsolete as using the new methods described above is preferable. |
|