Epplus打印机设置中心水平 [英] Epplus printer setting center horizontally

查看:148
本文介绍了Epplus打印机设置中心水平的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在EPPlus中找到允许我在页面上垂直或水平居中的内容。我不是在谈论在细胞中集中内容。我知道该怎么做。



这是Excel中物业的图像



我尝试过的事情:



尝试找到设置。 (呃,对不起,但这部分应该是可选的)

解决方案

检查一下:主要的pruP / EPPlus·GitHub上的EPPlus / ExcelPrinterSettings.cs [ ^ ]

请参阅以下属性: Horizo​​ntalCentered VerticalCentered

I cannot find a property in EPPlus that lets me center the content either vertically or horizontally on the page. I'm not talking about centering content in cells. I know how to do that.

Here's an image of the property in Excel

What I have tried:

Tried finding the setting. (ugh, sorry, but this section should be optional)

解决方案

Check this: EPPlus/ExcelPrinterSettings.cs at master · pruiz/EPPlus · GitHub[^]
See these properties: HorizontalCentered and VerticalCentered


这篇关于Epplus打印机设置中心水平的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆