iTextSharp.text.pdf.BaseFont.GetAllNameEntries C# (CSharp) Метод

GetAllNameEntries() публичный статический Метод

public static GetAllNameEntries ( String name, String encoding, byte ttfAfm ) : String[][]
name String
encoding String
ttfAfm byte
Результат String[][]
        public static String[][] GetAllNameEntries(String name, String encoding, byte[] ttfAfm)
        {
            String nameBase = GetBaseName(name);
            BaseFont fontBuilt = null;
            if (nameBase.ToLower(System.Globalization.CultureInfo.InvariantCulture).EndsWith(".ttf") || nameBase.ToLower(System.Globalization.CultureInfo.InvariantCulture).EndsWith(".otf") || nameBase.ToLower(System.Globalization.CultureInfo.InvariantCulture).IndexOf(".ttc,") > 0)
                fontBuilt = new TrueTypeFont(name, CP1252, false, ttfAfm, true, false);
            else
                fontBuilt = CreateFont(name, encoding, false, false, ttfAfm, null);
            return fontBuilt.AllNameEntries;
        }