文檔半島外圍網(wǎng)上直營(yíng)>>FastReport中文文檔>>導(dǎo)出報(bào)告
                導(dǎo)出報(bào)告
準(zhǔn)備好的報(bào)告可以導(dǎo)出為支持的格式之一。目前可使用以下格式:
- HTML
- RTF
- Excel XML (Excel 2003+)
- Excel 2007
- CSV
- TXT
- OpenOffice Calc
- 圖片(Bmp、Png、Jpeg、Gif、Tiff、元文件)
- 使用 "Prepare "方法準(zhǔn)備報(bào)告;
- 創(chuàng)建導(dǎo)出過(guò)濾器實(shí)例并設(shè)置其屬性;
- 調(diào)用報(bào)告對(duì)象的導(dǎo)出方法。
下面的示例將準(zhǔn)備好的報(bào)告導(dǎo)出為 HTML 格式:
// prepare a report report1.Prepare(); // create an instance of HTML export filter FastReport.Export.Html.HTMLExport export = new FastReport.Export.Html.HTMLExport(); // show the export options dialog and do the export if (export.ShowDialog()) report1.Export(export, "result.html");
點(diǎn)擊復(fù)制
在本例中,使用對(duì)話窗口進(jìn)行導(dǎo)出設(shè)置。
如需下載fastreport最新試用版,請(qǐng)點(diǎn)產(chǎn)品名跳轉(zhuǎn)產(chǎn)品下載頁(yè)>>

 QQ交談
QQ交談 在線咨詢
在線咨詢 
                 
                
 渝公網(wǎng)安備
            50010702500608號(hào)
渝公網(wǎng)安備
            50010702500608號(hào)
             
            
 客服熱線
客服熱線