Hi guys,
I have a problem here, I have an image from certain file path. Now what I want to do is to pass that image to the printpreviewdialog in order to show that image and I don't know where to continue with this sample code:

VB Code:
  1. private void button1_Click(object sender, System.EventArgs e)
  2.         {          
  3.             PrintPreviewDialog t = new PrintPreviewDialog();
  4.             printDocument1.PrintPage += new PrintPageEventHandler(pr);
  5.             t.Document = printDocument1;
  6.            
  7.             t.ShowDialog();
  8.            
  9.         }
  10.  
  11.         private void pr(object sender, PrintPageEventArgs e)
  12.         {
  13.             // where source image came from
  14.             Image i = Image.FromFile("C:\\idBack.jpg");
  15.             i.Dispose();
  16.         }
It appears to be blank paper, I know there's missing here.