Posts

Showing posts with the label c Sharp

How to Add the Urdu Fonts in Visual Studio in Window Forms c# | Styling Fonts | Visual Studio | Window Forms | C# | Add Local Fonts in the Visual Studio Window Forms |

#UrduFontStyle #VisualStudio #Winfoms How to write Urdu on C# Controls How to display Urdu Unicode characters on my Windows Forms UrduTextBox Control for C# Urdu Fonts in the Visual Studio can be written easily without any hurdle. You just need to install the Urdu Keyboard from Google. Now if you see the fonts style then you have no option to change the style of Urdu fonts in visual studio. By default, Urdu Font style is very ugly and it might be difficult for you to read it. So, if you want to give the good looking, dashing display then you have to go to do some extra effort for it. That’s why we brought here a way to achieve the Urdu font with beautiful and Good-Looking Font Style. //class  public static class MemoryFonts { [DllImport("gdi32.dll")] private static extern IntPtr AddFontMemResourceEx(IntPtr pbFont, uint cbFont, IntPtr pdv, [In] ref uint pcFonts); private static PrivateFontCollection pfc { get; set; } static MemoryF