iTextSharp.text.factories.ElementFactory.GetPhrase C# (CSharp) Метод

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

public static GetPhrase ( Properties attributes ) : Phrase
attributes System.util.Properties
Результат iTextSharp.text.Phrase
        public static Phrase GetPhrase(Properties attributes) {
            Phrase phrase = new Phrase();
            phrase.Font = FontFactory.GetFont(attributes);
            String value;
            value = attributes[ElementTags.LEADING];
            if (value != null) {
                phrase.Leading = float.Parse(value, System.Globalization.NumberFormatInfo.InvariantInfo);
            }
            value = attributes[Markup.CSS_KEY_LINEHEIGHT];
            if (value != null) {
                phrase.Leading = Markup.ParseLength(value, Markup.DEFAULT_FONT_SIZE);
            }
            value = attributes[ElementTags.ITEXT];
            if (value != null) {
                Chunk chunk = new Chunk(value);
                if ((value = attributes[ElementTags.GENERICTAG]) != null) {
                    chunk.SetGenericTag(value);
                }
                phrase.Add(chunk);
            }
            return phrase;
        }