Answered Carriage return in drawstring?

PDS8475

Active member
Joined
Jun 25, 2019
Messages
41
Programming Experience
Beginner
Hi
I have this line that draws the string.
graphics.DrawString("*" + barcodeMake + "*" + " " + "*" + barcodeModel + "*" + "*" + barcode + "*", ofont, black, point);
this works and I use it to print barcodes. But the barcodes are printed one after the other.
Is there a way to put a carriage return after each closing "*"
So that the barcodes are printed below each other?
 
Did you even try putting the newlines into the string? (e.g. "*\r\n") If so what results did you get?
 
Back
Top Bottom