Hack Forums
[.NET] magnifying glass font & code - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] magnifying glass font & code (/showthread.php?tid=5762597)



magnifying glass font & code - monemds - Dec 4, 2017

I want the font name and code for magnifying glass (search tool)

I used Segoe UI Symbol and code 1F50D

not work

code


Code
e.Graphics.DrawString("1F50D", New Font("Segoe UI Symbol", 10), New SolidBrush(Color.Black), New Point(25, 8), New StringFormat With {.Alignment = StringAlignment.Center})



RE: magnifying glass font & code - Geekie - Dec 5, 2017

(Dec 4, 2017 03:49 AM)monemds Wrote:  I want the font name and code for magnifying glass (search tool)

I used Segoe UI Symbol and code 1F50D

not work

code


Code
e.Graphics.DrawString("1F50D", New Font("Segoe UI Symbol", 10), New SolidBrush(Color.Black), New Point(25, 8), New StringFormat With {.Alignment = StringAlignment.Center})

Code
e.Graphics.DrawString(char.ConvertFromUtf32(0x1f50d), New Font("Microsoft Sans Serif", 10), New SolidBrush(Color.Black), New Point(25, 8), New StringFormat With {.Alignment = StringAlignment.Center});