Hello to all, is there code for center align text...
so X is pixels from left to right of paper, Y is from top to bootom. I try for X use insted number of pixels this code e.MarginBounds.Top - code puts only on top of the paper in left, not in center.
I need text in center - X.
thanks for any ideas...
Code:
e.Graphics.DrawString(TextBox1.Text, font1, Brushes.Yellow, X, Y)
I need text in center - X.
thanks for any ideas...