What do I do when C# code says that 'IDENTITY-H' is not recognized?

Kalidas Alias Vignesh Parivallal 21 Reputation points
2021-08-07T07:37:35.41+00:00

string fontpath = Environment.GetEnvironmentVariable("SystemRoot") + "\fonts\SaiVrishin";
BaseFont basefont = BaseFont.CreateFont(fontpath, BaseFont.IDENTITY_H, true);
iTextSharp.text.Font font = new iTextSharp.text.Font(basefont, 24, iTextSharp.text.Font.NORMAL,
iTextSharp.text.BaseColor.BLUE);
Paragraph pr1 = new Paragraph("¾í¸ ¿¨¸ «¼Á¡Éò¾¢ý §Àâø ¸¼ý Å¢ñ½ôÀõ", font);

Community Center | Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. Sam of Simple Samples 5,546 Reputation points
    2021-08-07T17:39:47.477+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.