Dim path As GraphicsPath = New GraphicsPath() Dim emSize As Single = 120 path.AddString("sample text", font.FontFamily, CInt(font.Style), emSize, rect, format) g.FillPath(Brushes.Yellow, path) g.DrawPath(Pens.Black, path)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)