Hello Team,
We want to set “Proxima-Nova” font in drawstring method of Graphics class. How can we do that? For you reference, we want to set Proxima-Nove instead of Times New Roman. We are using Aspose.Imaging version 21.4.0. Please suggest.
RectangleF titleRect = new RectangleF(24, 90, 600, 68);
graphics.DrawString(item.Title, new Font(“Times New Roman”, 20, FontStyle.Bold, GraphicsUnit.Pixel), new SolidBrush(Color.FromArgb(0, 0, 0)), titleRect, new StringFormat());