devexpress gridControl1导出为pdf文件时出现 中文乱码的解决方案

https://blog.csdn.net/u012097590/article/details/94604568

 

DevExpress.XtraGrid.Views.Grid.GridView defaultView = gridControl1.MainView as DevExpress.XtraGrid.Views.Grid.GridView;
defaultView.AppearancePrint.HeaderPanel.Font = new System.Drawing.Font("微软雅黑", 10);
defaultView.AppearancePrint.Row.Font = new System.Drawing.Font("微软雅黑", 10);

posted @ 2021-02-25 14:25  毛小毛  阅读(486)  评论(0编辑  收藏  举报