|
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.
|
|
|
|