コード例 #1
0
        public static WorksheetContext Write(this WorksheetContext instance, int fromRow, int fromColumn, int toRow, int toColumn, object value)
        {
            instance
            .GetRange(fromRow, fromColumn, toRow, toColumn)
            .SetValue(value);

            return(instance);
        }
コード例 #2
0
        public static WorksheetContext Write(this WorksheetContext instance, string address, object value)
        {
            instance
            .GetRange(address)
            .SetValue(value);

            return(instance);
        }
コード例 #3
0
        public static WorksheetContext Write(this WorksheetContext instance, int row, int column, object value)
        {
            instance
            .GetRange(row, column)
            .SetValue(value);

            return(instance);
        }
コード例 #4
0
 public static IRangeWrapper GetVerticalRange(this WorksheetContext instance, int column, int fromRow, int toRow, bool setAsCurrent = true)
 {
     return(instance.GetRange(fromRow, column, toRow, column, setAsCurrent));
 }
コード例 #5
0
 public static IRangeWrapper GetHorizontalRange(this WorksheetContext instance, int row, int fromColumn, int toColumn, bool setAsCurrent = true)
 {
     return(instance.GetRange(row, fromColumn, row, toColumn, setAsCurrent));
 }