本文介绍了打印一个填满页面的字符...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都对如何每页打印一个字符有任何建议?我正在尝试打印数字:00-99.我正在使用拉绳来满足这一需求.但是,在打印数字时,它们会在膝盖处被切断,这意味着仅打印了一部分数字.我的边距设置为零,并且文本定位在0,0位置打印.通过调整字体大小,我可以使数字实际显示在页面上,但那时它们太小了,无法满足我的需求.我还尝试重载drawstring方法并发送RectangleF对象,结果相同.

Anyone have any suggestions on how to print one character per page? I''m trying to print numbers: 00 - 99. I am using drawstring to meet this need. However, when the numbers print they are cut off at the knees, meaning only a portion of the number is printed. I have my margins set to zero, and the text is positioned to print at position 0,0. By adjusting the font size, I can get the numbers to actually appear on the page, but at that point they are too small and fail to meet my needs. I''ve also tried overloading the drawstring method and sending a RectangleF object, same results.

推荐答案


这篇关于打印一个填满页面的字符...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 22:03