Michael

Michael

  • NA
  • 1
  • 0

Print Preview a String

May 7 2008 2:49 PM
I need a simple way to just send a string to the Print Preview document. I don't care about fonds, sizes, any of that. I just want to send vanilla text to a print preview window.

I have this:
Dim printPreviewDialog1 As New PrintPreviewDialog() ' instantiate new print preview dialog
printPreviewDialog1.Document = PrintMeString
printPreviewDialog1.ShowDialog() ' Show the print preview dialog


Which is wrong, because PrintMeString is a String. Everything I found online is way too complictaed for what I want  to do. Any ideas?

Answers (1)