Example #1
0
        public object Clone()
        {
            ExcelCellRangeInfo clonedStart = null;
            ExcelCellRangeInfo clonedEnd   = null;

            if (null != Start)
            {
                clonedStart = new ExcelCellRangeInfo(Start.Row, Start.Column);
            }

            if (null != End)
            {
                clonedEnd = new ExcelCellRangeInfo(End.Row, End.Column);
            }

            return(new ExcelRangeInfo(clonedStart, clonedEnd));
        }
Example #2
0
 public ExcelCellData(int r, int c)
 {
     Range = new ExcelCellRangeInfo(r, c);
 }
Example #3
0
 public ExcelRangeInfo(ExcelCellRangeInfo start, ExcelCellRangeInfo end)
 {
     Start = start;
     End   = end;
 }
Example #4
0
 public ExcelRangeInfo(int r0, int c0, int r1, int c1)
 {
     Start = new ExcelCellRangeInfo(r0, c0);
     End   = new ExcelCellRangeInfo(r1, c1);
 }
Example #5
0
 public ExcelRangeInfo(int r0, int c0)
 {
     Start = new ExcelCellRangeInfo(r0, c0);
 }