コード例 #1
0
        private static IEnumerable <double> GetGridColumnWidths(this Word.Table table)
        {
            var grid    = table.Grid();
            var columns = grid.Columns().ToArray();
            var widths  = columns
                          .Select(c => c.Width.ToPoint());

            return(widths);
        }