The easiest way I found to align a text to right (VB6):
What about VB .NET?VB Code:
Private Sub Command1_Click() With Printer .CurrentX = 1000 - .TextWidth("1,000.00") .CurrentY = 2000 Printer.Print "1,000.00" .CurrentX = 1000 - .TextWidth("10,000.00") .CurrentY = 3000 Printer.Print "10,000.00" .EndDoc End With End Sub
Thanks.
