/// <summary>
        ///     Initializes a new instance of the <see cref="ColumnDimensionAttribute" /> class  defining the column width width
        ///     the passed value. The column width is either Relative or Absolute.
        /// </summary>
        /// <param name="columnWidth"> The width of the column. </param>
        /// <param name="dimensionType"> The type of the width (Relative or Absolute). </param>
        public ColumnDimensionAttribute(double columnWidth, ColumnDimensionType dimensionType)
        {
            if (columnWidth <= 0)
            {
                throw new ArgumentOutOfRangeException(nameof(columnWidth));
            }

            ColumnWidth = columnWidth;
            DimensionType = dimensionType;
        }
        /// <summary>
        ///     Initializes a new instance of the <see cref="ColumnDimensionAttribute" /> class  defining the column width width
        ///     the passed value. The column width is either Relative or Absolute.
        /// </summary>
        /// <param name="columnWidth"> The width of the column. </param>
        /// <param name="dimensionType"> The type of the width (Relative or Absolute). </param>
        public ColumnDimensionAttribute(double columnWidth, ColumnDimensionType dimensionType)
        {
            if (columnWidth <= 0)
            {
                throw new ArgumentOutOfRangeException(nameof(columnWidth));
            }

            ColumnWidth   = columnWidth;
            DimensionType = dimensionType;
        }