0
Answer

Graphicspath.addstring

Photo of visvanathan Kannan

visvanathan Kannan

14y
5.1k
1


hi there,
this is my logic to draw text on my grahic display,
when i draw lines it work fine, but text are drawing upside down like mirror image
could any one help on this matter
visvanathan

Dim family As New FontFamily("Arial")
Dim myfontStyle As Integer = CInt(FontStyle.Regular)
Dim emSize As Integer = 6
Dim TxtPoint As New Point
Dim format As StringFormat = StringFormat.GenericDefault
Stn = "20"
TxtPoint.X = sngPltX
TxtPoint.Y = sngPltY

plotText.AddString(Stn, family, myfontStyle, emSize, TxtPoint, format)
plotText.Transform(WorldC)
'G.DrawPath(PnYellow, plotText)
G.FillPath(Brushes.Blue, plotText)

 

Answers (0)