且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

富文本编辑器页码

更新时间:2021-08-21 08:43:03

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



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

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



http:// *** .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://***.com/questions/6792118/printing-a-page-number-in-each-printed-page-in-c-sharp[^]

RichTextBox Printing in C# with WinForms VS2010[^]