iTextSharp.text.Table.SetAlignment C# (CSharp) Метод

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

Sets the alignment of this paragraph.
public SetAlignment ( string alignment ) : void
alignment string the new alignment as a string
Результат void
        public void SetAlignment(string alignment) {
            if (Util.EqualsIgnoreCase(alignment, ElementTags.ALIGN_LEFT)) {
                this.alignment = Element.ALIGN_LEFT;
                return;
            }
            if (Util.EqualsIgnoreCase(alignment, ElementTags.ALIGN_RIGHT)) {
                this.alignment = Element.ALIGN_RIGHT;
                return;
            }
            this.alignment = Element.ALIGN_CENTER;
        }