Printing with Tabs
Hardware & Devices
1
Posts
1
Posters
0
Views
1
Watching
-
I am trying to change the tab stops on the printer before I send formatted text (w/Tabs) to it. I can change the tab stops in stringFormat and use it when calling DrawString but they are completely ignored, e.g.,
Dim string\_format As New StringFormat Dim tabs As Single() = {20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20} string\_format.SetTabStops(0.0F, tabs)
e.Graphics.DrawString(txt, m_Fonts(para.FontNumber), _
Brushes.Black, layout_rect, string_format)Anybody got any ideas? One would 'think' that this should be pretty straight-forward.