码迷,mamicode.com
首页 > 其他好文 > 详细

DevExpress 报表文档添加更大边距

时间:2017-08-07 18:31:41      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:document   settings   cti   dev   blog   ram   ide   repo   sre   

@Html.DevExpress().DocumentViewer(settings =>{
// The following settings are required for a Report Viewer.
settings.Name = "documentViewer1";
settings.Report = (Misteryshopper.Reports.ResumenProyecto)ViewData["Report"];
// Callback and export route values specify corresponding controllers and their actions.
// These settings are required as well.    

settings.CallbackRouteValues = new { Controller = "Report", Action = "ProyectDocumentViewerPartial" };
settings.ExportRouteValues = new { Controller = "Report", Action = "ProyectExportDocumentViewer", ReportName = ReportName };
// Parameters

settings.SettingsReportViewer.EnableRequestParameters = false;
settings.SettingsSplitter.SidePaneVisible = false; 

// YOU HAVE TO ADD THIS LINE ...... 
    settings.SettingsReportViewer.EnableMargins = true; 

    }).GetHtml()

 

DevExpress 报表文档添加更大边距

标签:document   settings   cti   dev   blog   ram   ide   repo   sre   

原文地址:http://www.cnblogs.com/shy1766IT/p/7300482.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!