vb.net help

BradleyOng83

Member
Joined
Mar 2, 2006
Messages
19
Programming Experience
Beginner
e.Graphics.DrawString(txtOriginal.Text, New Font("Courier New", 10, FontStyle.Regular), Brushes.Black, 50, 50)

after i debug it said "too many arguments to pulic sub new"(underline)
then i reduce but still same error.
 
Both the font constructor and drawstring parameters here are ok. If you got an "Public Sub New" error this relates to somewhere else, another constructor of an object.
 
Back
Top