Click here to Skip to main content
16,018,202 members

Comments by dhiraj ingole (Top 1 by date)

dhiraj ingole 7-Oct-13 0:43am View    
yes i have tried one thing but i can't fix it ..like fields (name,amount,amount in words)to proper position on the check...because i don't have more knowledge about drawstring method of grafics..pls help me ..thanks in advance


Collapse | Copy Code
e.Graphics.DrawString(textBox1.Text, textBox1.Font, Brushes.Black, textBox1.Left + 5, textBox1.Top + 5);//position as needed of name
e.Graphics.DrawString(textBox2.Text, textBox2.Font, Brushes.Black, textBox2.Right + 5, textBox2.Top + 5);//position as needed amount
e.Graphics.DrawString(textBox3.Text, textBox3.Font, Brushes.Black, textBox3.Top + 5, textBox3.Top + 5);//position as needed amount in words
}