1
What are the processes to place a watermark (image) in the form that will be created by c#
private void Imprimir_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
Font fonte = new Font("Arial", 30, FontStyle.Bold, GraphicsUnit.Pixel);
e.Graphics.DrawString(DateTime.Now.ToString("HH:mm:ss"), fonte, Brushes.Black, 20, 20);
e.Graphics.DrawString("TESTE DE LABEL",fonte,Brushes.Black,20,150);
e.Graphics.DrawString(textBox1.Text, fonte, Brushes.Black, 300, 250);
}
I thought to put the image in the form and make it invisible, only being visible in the print, like when I click to print it becomes visible in the form
– user_de_drogas_pesadas
Heavy drug user
– Thiago Loureiro