ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

学习C#开源报表组件Seal Report(19:Seal Report Designer界面布局-15)

学习C#开源报表组件Seal Report(19:Seal Report Designer界面布局-15) 本文继续学习Seal Report Designer中Views节点下View子节点对象的剩余属性用途。1、Excel ConfigurationUse custom template text属性设置是否使用自定义模板Custom template for Excel属性支持维护Razor脚本格式的视图模板以替代视图的默认模板Show report Information属性设置以Excel形式显示报表时是否显示信息面板数据Show messages属性设置以Excel形式显示报表时是否显示消息面板数据Auto Fit columns属性设置是否根据内容自动调整列宽Print:Show logo属性设置是否在页眉右上角插入图标Print:Paper size属性设置打印时的纸张大小Print:Page orientation属性设置打印时的纸张方向Print:Fit to page属性设置打印时是否自动缩放内容以适应纸张大小Print:Fit to width属性如果Print:Fit to page属性值为True本属性设置将几页内容横向放在同一页值为0则自动适配Print:Fit to height属性如果Print:Fit to page属性值为True本属性设置将几页内容纵向放在同一页值为0则自动适配。2、PDF ConfigurationUse custom template text属性设置是否使用自定义模板Custom template for PDF属性支持维护Razor脚本格式的视图模板以替代视图的默认模板Show report Information属性设置在PDF文档末尾处显示报表的信息面板数据Show messages属性设置在PDF文档末尾处显示报表的信息面板数据Font size:Title属性设置标题的字体大小Font color:Title属性设置标题的字体颜色Font size:Messages属性设置报表执行消息的字体大小Font size:Footer属性设置页脚文本的字体大小Tab page:Force entire属性值为True则将Tab page视图控件的内容放在同一页中显示Widget:Force entire属性值为True则将Widget视图控件的内容放在同一页中显示Page size属性设置PDF文档的页面大小Page orientation属性设置PDF文档的页面方向Charts:Force ScottPlot属性值为True则将报表中图表转换为ScottPlot图表以提升显示效果Show report in QuestPDF companion app属性值为True则在quest pdf companion软件内生成报表且软件的端口设置应配置“‘Active and Listening”Port configured in QuestPDF companion app属性配置quest pdf companion软件的监听端口。3、HTML to PDF ConfigurationUse custom template text属性设置是否使用自定义模板Custom template for HTML to PDF属性支持维护Razor脚本格式的视图模板以替代默认模板Scale属性设置网页缩放比例值在0.1到2之间Display header footer属性设置是否显示页眉和页脚Header template属性支持维护打印时使用的HTML格式的页眉模版Footer template属性支持维护打印时使用的HTML格式的页脚模版Print background属性设置是否打印背景图形Landscape属性值为True则纸张方向为横向Page ranges属性设置页码打印范围如1-58 11-13如果值为空则打印所有内容Format属性设置页面大小Margin:bottom属性设置页面下边距Margin:top属性设置页面上边距Margin:left属性设置页面左边距Margin:right属性设置页面右边距Omit background属性值为True则导出PDF时使用透明背景不使用默认白色背景。4、CSV ConfigurationUse custom template text属性设置是否使用自定义模板Custom template for CSV属性支持维护Razor脚本格式的视图模板以替代视图的默认模板Encode file in UTF8属性值为True导出CSV文件时采用UTF8格式值为False则使用启用报表时的模式格式5、Text ConfigurationUse custom template text属性设置是否使用自定义模板Custom template for Text属性支持维护Razor脚本格式的视图模板以替代视图的默认模板6、XML ConfigurationUse custom template text属性设置是否使用自定义模板Custom template for XML 属性支持维护Razor脚本格式的视图模板以替代视图的默认模板7、Json ConfigurationUse custom template text属性设置是否使用自定义模板Custom template for Json 属性支持维护Razor脚本格式的视图模板以替代视图的默认模板8、Web Report ServerWeb execution属性针对报表服务器值为True则支持在报表列表中执行视图9、HelperReload template configuration属性点击面板中该属性值以重新加载模板配置Reset template parameter values属性点击面板中该属性值以重置模板属性值Information属性显示点击Reload template configuration属性或Reset template parameter values属性后的最新提示信息Error属性显示点击Reload template configuration属性或Reset template parameter values属性后的最新报错信息。参考文献[1]https://github.com/ariacom/Seal-Report[2]https://sealreport.org/[3]https://sealreport.org/demo[4]https://sealreport.org/forum/[5]https://github.com/ariacom/Seal-Report/releases[6]https://www.cnblogs.com/Leo_wl/p/7716582.html[7]https://sealreport.org/Help/html/26c7ae63-9b83-dc1d-b5d0-00a18021be41.htm[8]https://sealreport.org/Reports
返回列表