printPage trigger event?

  • Thread starter Thread starter Rich K
  • Start date Start date
R

Rich K

Hello,

What do I need to do in my program to get the following event to occur.

Thanks!
Rich.


// C#
private void printDocument1_PrintPage(object sender,
System.Drawing.Printing.PrintPageEventArgs e)
{
e.Graphics.DrawString("SampleText",
new Font("Arial", 80, FontStyle.Bold), Brushes.Black, 150, 125);
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top