概述
如果你正在使用ComponentOne Enterprise 的Reports for WinForm 報表控件(C1Report),你一定會喜歡更爲強大的FlexReport!
FlexReport是一個改進的C1Report,使.NET開發人員能夠根據應用程序的業務需求解決複雜問題。 藉助ComponentOne的2018v2版本,FlexReport提供了創建複雜報表的能力。 FlexReport的架構建立在C1Report之上,因此您將快速掌握C1Report以及其他一些用法。 FlexReport代碼是從頭開始編寫的; 因此,在從C1Report遷移到FlexReport時,您會發現API中的以下重大更改。
ComponentOne技術團隊現在鼓勵C1Report用戶將他們的報表遷移到FlexReport,這樣就可以獲得更快的數據處理能力和更輕量的產品架構。
從C1Report遷移到FlexReport的五大理由
- FlexReport比C1Report快兩倍。
- FlexReport的新架構和後續更新架構有助於支持常見的佈局功能,例如並排分頁兩個子報表等。
- FlexReport對象模型類似於C1Report,因此針對C1Report的大多數簡單代碼都可以在FlexReport中使用。
- FlexReport提供了段落字段、排序、計算字段和添加多個數據源等新功能。 參數更容易添加和編輯。 使用捕捉線、標題、部分輕鬆添加字段和設計報表 - 這些都在設計器中,因此您無需對其進行任何編碼。
- FlexReport是一種跨平臺解決方案。 它不依賴於WinForms / GDI +。 相反,新引擎的渲染基於DirectX / DirectWrite,並且應該相對容易移植到XAML / UWP平臺並在這些平臺上呈現更好。 FlexReport可在Winform,WPF和UWP平臺中使用。
FlexReport性能改進
我們在許多標準用例上測試了FlexReport和C1Report,以證明性能的提升。 瞭解有關FlexReport的更多信息,並將其性能與C1Report進行比較。
此表提供FlexReport和C1Report功能比較:
S.No | Feature | C1Report | C1FlexReport |
---|---|---|---|
1 | Data Binding | ||
1.1 | OLEDB | Y | Y |
1.2 | SQL | Y | Y |
1.3 | XML | Y | Y |
1.4 | Unbound | Y | Y |
1.5 | CSV | Y | Y |
1.6 | Oracle | Y | Y |
1.7 | PostgreSQL | Y | Y |
1.8 | Stored Procedures | Y | Y |
2 | Data Manipulation | ||
2.1 | Add Parameter Dialog in Designer | N | Y |
2.2 | Sub Reports | Y | Y |
2.3 | Side-by-side Subreports | N | Y |
2.4 | Calculated Fields | Y | Y |
2.5 | Columnar Reports | Y | Y |
2.6 | Summary Fields | N | Y (Calculated Fields) |
2.7 | Localization | Y | Y |
2.8 | Report Events | Y | Y |
2.9 | Custom Controls | Y | Y |
3 | Designer Features | ||
3.1 | Designer Layout buttons | ||
3.11 | Snap Lines | N | Y |
3.12 | Snap To Grid | Y | Y |
3.13 | HideGrid | Y | Y |
3.14 | Zoom Slider | Y | Y |
3.2 | Designer Toolbar | ||
3.21 | Text Formatting options | Y | Y |
3.3 | Report Settings | ||
3.31 | Page Setup (Design time) | Y | Y |
4 | Report Controls | ||
4.1 | ReportInfo | Y | Y |
4.2 | Label | Y(via standardunbound field) | Y |
4.3 | Line | Y | Y |
4.4 | PageBreak | Y | Y |
4.6 | Subreport | Y | Y |
4.7 | Shape | Y (throughproperties) | Y |
4.8 | Picture | Y | Y |
4.9 | RichTextBox | Y | Y |
4.10 | ChartControl | Y | Y |
4.11 | Textbox | Y | Y |
4.12 | Barcodes | Y | Y |
4.13 | Checkbox | Y (throughproperty) | Y |
4.14 | Map | Y | Y |
4.15 | Gradient Field | Y | Y |
4.16 | Paragraph Field | N | Y |
5 | Scripting - C#, VB, JScript | VBScript | VBScript |
6 | Interactivity | ||
6.1 | Jump within report | N | Y |
6.2 | Sorting (runtime) | N | Y |
6.3 | Sorting settings through designer | Y | Y |
6.4 | Filtering settings through designer | N | Y |
6.5 | Hyperlink | N | Y |
6.6 | Document Map | N | Y |
6.7 | Document Map settings through Designer | N | Y |
7 | Expressions | ||
7.1 | Aggregates | Y | Y |
7.2 | Functions | Y | Y |
7.3 | Global Collections | Y | Y |
準備從C1Report遷移到FlexReport?
按照這個步驟將基於C1Report的報表遷移到FlexReport吧!
ComponentOne Enterprise | 下載試用
ComponentOne是一款專注於企業應用高性能開發的 .NET 全功能控件套包,包含300餘種控件,支持7大平臺,涵蓋7大功能模塊。較於市面上其他同類產品,ComponentOne更加輕盈,功能更加強大,20多年的開發經驗,將爲您的應用系統帶來更爲安全的使用體驗。純中文操作界面,一對一技術支持,廠商級的技術服務,共同造就了這款國際頂級控件套包。
您對ComponentOne 產品的任何技術問題,都有技術支持工程師提供1對1專業解答,點擊此處即可發帖提問>> 技術支持論壇