富文本编辑器页码 [英] Rich text Editor Page number

查看:115
本文介绍了富文本编辑器页码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我正在使用Rich文本编辑器,就像MS-Word一样工作正常但我在Rich文本编辑器中有一个问题我怎么能得到此编辑器中的页码与MS-word相同。如果有任何想法请告诉我。

Dear All,

I am using Rich text editor same like MS-Word everything is working fine but I have one problem in Rich text editor How I can get page No. in this editor same like MS-word. If any one have idea please let me know.

推荐答案

富文本编辑器不像MS-word,因为它没有页面的概念,它只是知道一块文字。



但是你可以将页码添加到 PrintDialog

https:// msdn。 microsoft.com/en-us/library/system.windows.controls.printdialog%28v=vs.110%29.aspx [ ^ ]



http:// stackoverflow .com / questions / 6792118 / print-a-page-in-each-printed-page-in-c-sharp [ ^ ]



使用WinForms VS2010在C#中打印RichTextBox [ ^ ]
The rich text editor is not like MS-word in that it does not have the notion of pages, it just knows of a block of text.

You can however add page numbers to a PrintDialog :
https://msdn.microsoft.com/en-us/library/system.windows.controls.printdialog%28v=vs.110%29.aspx[^]

http://stackoverflow.com/questions/6792118/printing-a-page-number-in-each-printed-page-in-c-sharp[^]

RichTextBox Printing in C# with WinForms VS2010[^]


这篇关于富文本编辑器页码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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