Example #1
0
        public ColumnInfo(string title, hAlignment horizontalAlignment = hAlignment.Left, vAlignment verticalAlignment = vAlignment.Bottom)
        {
            Title = title;
            Data  = new CellFormatting
            {
                HorizontalAlignment = horizontalAlignment,
                VerticalAlignment   = verticalAlignment
            };

            Heading = new CellFormatting
            {
                HorizontalAlignment = horizontalAlignment,
                VerticalAlignment   = verticalAlignment
            };
        }
Example #2
0
 public ColumnInfo(string Title, hAlignment HorizontalAlignment = hAlignment.Left, vAlignment VerticalAlignment = vAlignment.Bottom)
 {
     this.Title = Title;
     this.Data  = new CellFormatting();
     this.Data.HorizontalAlignment = HorizontalAlignment;
     this.Data.VerticalAlignment   = VerticalAlignment;
     this.Heading = new CellFormatting();
     this.Heading.HorizontalAlignment = HorizontalAlignment;
     this.Heading.VerticalAlignment   = VerticalAlignment;
 }