[英]Is it possible to align the text in the center in the combo box?
I am using the Foxit PhantomPDF program and created the combo box. 我正在使用Foxit PhantomPDF程序并创建了组合框。 The Foxit PhantomPDF program only lets you align text to the right or left.
Foxit PhantomPDF程序仅允许您将文本左右对齐。 I want to know if you can align the text to be center aligned in the combo box using Javascript.
我想知道是否可以使用Javascript在组合框中将文本对齐为居中对齐。
I tried to align using just one line of code: 我试图只使用一行代码来对齐:
sf.Alignment = StringAlignment.Center;
The photo shows that the text is left aligned, but I want it to be centered in the middle. 照片显示文本保持左对齐,但我希望文本居中。
I contacted the Foxit company and was informed that it is not possible. 我联系了福昕公司,并被告知这是不可能的。 Has anyone been through this situation and managed to solve with some programming code or used a program?
有没有人经历过这种情况并设法用一些编程代码解决了问题或使用了某个程序?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.