BlisdManYT

Code "PrintDocument1"

May 11th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RichTextBox1.SelectAll()
  2.         e.Graphics.DrawString( _
  3.             RichTextBox1.SelectedText, _
  4.             RichTextBox1.SelectionFont, _
  5.             Brushes.Black, _
  6.             New System.Drawing.RectangleF( _
  7.                 e.MarginBounds.Top, _
  8.                 e.MarginBounds.Left, _
  9.                 e.PageBounds.Width, _
  10.                 e.PageBounds.Height))
  11.         e.HasMorePages = False
Advertisement
Add Comment
Please, Sign In to add comment