iTextSharp.text.Paragraph.cloneShallow C# (CSharp) Метод

cloneShallow() публичный Метод

public cloneShallow ( bool spacingBefore ) : Paragraph
spacingBefore bool
Результат Paragraph
        public virtual Paragraph cloneShallow(bool spacingBefore)
        {
            Paragraph copy = new Paragraph();
            copy.Font = Font;
            copy.Alignment = Alignment;
            copy.SetLeading(Leading, multipliedLeading);
            copy.IndentationLeft = IndentationLeft;
            copy.IndentationRight = IndentationRight;
            copy.FirstLineIndent = FirstLineIndent;
            copy.SpacingAfter = SpacingAfter;
            if (spacingBefore)
                copy.SpacingBefore = SpacingBefore;
            copy.ExtraParagraphSpace = ExtraParagraphSpace;
            return copy;
        }