C# Printing (RichTextBox)

后端 未结 4 2034
我在风中等你
我在风中等你 2020-12-01 16:57

I want to print the content of my RichTextBox (eintragRichTextBox) I have now this code:

private void druckenPictureBox_Click(object sender, EventArgs e)
{
          


        
4条回答
  •  心在旅途
    2020-12-01 17:31

    It seems your code has a problem, it reprints the first page only because of the

    StringReader reader = new StringReader(eintragRichTextBox.Text);
    

    in your DocumentToPrint_PrintPage()

提交回复
热议问题