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

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

public static GetParagraph ( Properties attributes ) : Paragraph
attributes System.util.Properties
Результат iTextSharp.text.Paragraph
        public static Paragraph GetParagraph(Properties attributes) {
            Paragraph paragraph = new Paragraph(GetPhrase(attributes));
            String value;
            value = attributes[ElementTags.ALIGN];
            if (value != null) {
                paragraph.SetAlignment(value);
            }
            value = attributes[ElementTags.INDENTATIONLEFT];
            if (value != null) {
                paragraph.IndentationLeft = float.Parse(value, System.Globalization.NumberFormatInfo.InvariantInfo);
            }
            value = attributes[ElementTags.INDENTATIONRIGHT];
            if (value != null) {
                paragraph.IndentationRight = float.Parse(value, System.Globalization.NumberFormatInfo.InvariantInfo);
            }
            return paragraph;
        }